regex-cheatsheet
regex-cheatsheet copied to clipboard
Cheatsheet for different regex syntaxes
find with the -regextype posix-extended and -regex '^regex$' is a good one to know :)
### For regular expressions Mikrotik uses a slightly modified ERE scheme This note should make it easier to use **regexp** in Mikrotik * Special characters `\$` `\?` require Backslash *...
"\ special in class?", and "Ranges" are empty for "POSIX extended (ERE)". I assume that they're the same as for "POSIX (BRE)", but this should be explicitly specified. In addition...
https://docs.oracle.com/cd/B19306_01/B14251_01/adfns_regexp.htm https://docs.oracle.com/cd/B13789_01/appdev.101/b10795/adfns_re.htm > Oracle Database follows the exact syntax and matching semantics for these operators as defined in the POSIX standard for matching ASCII (English language) data. You can find...
Javascript has built-in regular expressions (with unquoted `/.../` syntax).
[Oniguruma](https://github.com/kkos/oniguruma) (and its fork Onigmo) is a regex library used by multiple software/languages such as Ruby (Onigmo since 2.0) and PHP. I'm assuming the syntax matches PCRE but supported features...
[Rust's `regex` crate](http://doc.rust-lang.org/regex) provides native regular expression matching. At first glance, this is yet another Perl-inspired dialect, with a lot less features.
Looks like a variation of Perl's, but as usual with Ruby, it's hard to find any reference documentation of anything.
I apologize in advance; I am a very infrequent vim user, so some of this may need to be double-checked. - `\zs` sets the start of a match. - `\ze`...