regex
Here are 1,852 public repositories matching this topic...
When I run fd, I get this:
[1;34mext\ [0mphp_mbstring.dll
php7embed.lib
I think fd should automatically detect when the user has a terminal without
ANSI support, and disable colors.
It’s probably straight-forward for some people using Docker more regularly than me, but it took a while to find out how to run truffleHog from Docker with my locally cloned repo:
cd /path/to/git_repo
docker run --rm -v `pwd`:/proj dxa4481/trufflehog file:///proj-vmounts the current working dir (`pwd`) to the/projdir in the Docker containerfile:///projrefer
-
Updated
Aug 15, 2019 - TypeScript
-
Updated
Apr 17, 2020
https://github.com/intel/hyperscan/blob/master/doc/dev-reference/chimera.rst says Currently only static library is supported for Chimera, so please use static build type when configure CMake build options.
Can someone help/guide me build dynamic lib
I hate regex too and would rather not use it but my coworker do and it makes code review very hard.
I wonder if there could be a simple way to use your awesome service to improve code review.
My first idea was to document code with a link to your service identifying uniquely the regex in the code.
What do you think about it?
I was bitten pretty hard (my fault!) by a subtle difference in eXtended mode's handling of spaces in character classes. I was expecting (except in a much more complicated context) (?x)[ ] to match a single space as it does with pcre2, but that does not seem to be the case (and doesn't seem to be documented?).
In PCRE2, (?x) enables spurious use of whitespace everywhere except in character c
Please describe the minimum necessary steps to reproduce this issue:
The example given in README for API some is not working as intended.
Link to example in REPL
const mm = require('micromatch');
// mm.some(list, patterns[, options]);
console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
// true
console.log(mm.soI assume the majority of users who come across sd are likely also using other popular Rust-based CLI tools like fd and rg:
sharkdp/fd@app.rs#L70-L75- [
BurntSushi/ripgrep@app.rs#L1175-L1178](https://github.com/BurntSushi/ripgrep/blob/8ebc113847926922bb85fb5a01c175319fb1e8d4/src/app.rs#L1
-
Updated
Sep 7, 2018 - JavaScript
-
Updated
Aug 26, 2019
-
Updated
Apr 25, 2020 - D
-
Updated
Apr 10, 2020 - JavaScript
Please pretend I attached a pull request which replaces all instances of regex2fat with REGEX2~1. Thank you.
-
Updated
Apr 17, 2020 - Rust
-
Updated
Aug 19, 2019 - PHP
Demo
Add a new demo
-
Updated
Sep 15, 2019 - Swift
In file gnu_awk.md there is told '<' to be replaced with '\<' only if not preceded by '\' but that is never the case because optional meta character matches one or zero occurrences so this should be something like this '<' to be replaced with '\<' optionally preceded by '\'. A way to prove can be just change the code & run
$ echo 'blah \< foo bar < blah baz <' | awk '{gsub(/\\?</, The following example should render as bold and italics at the same time:
***foobar***
Like this: foobar
However it is only rendered in bold style.
-
Updated
Nov 12, 2019 - Go
-
Updated
Apr 9, 2020
-
Updated
Apr 25, 2020 - C++
After the release of Ruby 2.4.1, some blog posts about the absent operator were written, and they caused some discussions.
Blog posts:
- The New ‘Absent Operator’ in Ruby’s Regular Expressions – Ruby Inside – Medium
- [Ruby 2.4.1新機能: Onigmo正規表現の非包含演算子(?~ )をチェック](https://techracho.b
Improve this page
Add a description, image, and links to the regex topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the regex topic, visit your repo's landing page and select "manage topics."
What version of ripgrep are you using?
How did you install ripgrep?
Cargo
What operating system are you using ripgrep on?
Ubuntu
Describe your question, feature request, or bug.
Sometimes you end up inside a directory that's actually gitignored, and search for stuff. Of course,