I use vim, sed, bash and Perl. Each has somewhat different regex syntax. I just spent time finding that I need to escape the curly parens in sed, but not in BASH (when using them as counter elements). Grrr.
Can anybody point me to a table that summarizes the differences between the different regex parsers in these 4 environments.
TIA
Best Answer
http://www.regular-expressions.info/refflavors.html - scroll down a bit.
Bash uses posix regexes. Sed and vim (which uses ed) use what are listed as "GNU BRE", although this depends on what flags you pass.