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 reply to Re^2: Perl6ish rules in Perl5's regex engine
by robin
in thread Perl6ish rules in Perl5's regex engine
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |