Regex cheatsheet
Many programs use regular expression to find & replace text. However, they tend to come with their own different flavor.
You can probably expect most modern software and programming languages to be using some variation of the Perl flavor, "PCRE"; however command-line tools (grep, less, ...) will often use the POSIX flavor (sometimes with an extended variant, e.g. egrep or sed -r). ViM also comes with its own syntax (a superset of what Vi accepts).
This cheatsheet lists the respective syntax of each flavor, and the software that uses it.
Tue Apr 14 20:12:50 2015 - permalink -
-
https://remram44.github.io/regex-cheatsheet/regex.html