Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Perl6ish rules in Perl5's regex engineby robin (Chaplain) |
on Sep 12, 2006 at 20:55 UTC ( [id://572622]=note: print w/replies, xml ) | Need Help?? |
I had the same idea a few years ago, and implemented it in PCRE. The author of PCRE reworked the implementation but kept the idea, and it's been a standard feature of PCRE since then.
I still think it's very cool, but I don't know whether anyone actually uses it...
I didn't have the guts to try and do it for perl's regex engine. If you do it, it might be worth considering using the same syntax as PCRE?
In Section
Meditations
|
|