more useful options | |
PerlMonks |
Re^2: Parsing and translating Perl Regexesby LanX (Saint) |
on Nov 05, 2013 at 02:00 UTC ( [id://1061228]=note: print w/replies, xml ) | Need Help?? |
Despite the name is PCRE ... not compatible , I recommend here reading Friedl's book about Mastering Regular Expressions. JS' RegEx is based on Perl4, so plenty of things must be excluded. eLISP RegEx predates Perl (i.e. old POSIX), many escapes are inverted - e.g. \( <-> ( - and since regexes are always strings, any slash must be additionally escaped from string interpolation (leading to so called "slasheritis") Hope the last 2 phrases were still readable for you.
Cheers Rolf ( addicted to the Perl Programming Language)
In Section
Seekers of Perl Wisdom
|
|