Regex Flavor Comparison

I wonder if there is a comparison between different regular expression metacharacters in different implementations.

What I'm looking for is a table like

Language       Perl    sed
grouping       ( )     \( \)

Languages ​​that interest me: Perl, Sed Java Javascript

+5
source share
3 answers

Comparison of the comparison of movements of regular expressions is comprehensive and understandable.

There is also Richard Kettlellall regexp syntax summary .

+7
source

Here is a comprehensive comparison page: Comparison of tastes in real terms .

, , . , JavaScript ECMA. sed , UNIX Linux ( ):

sed UNIX POSIX BRE. Linux GNU "GNU BRE".

+12

A script called txt2regexallows you to create a regular expression and show you the syntax for different tastes.

txt2regex

+8
source

All Articles