As is pointed out above, Perl regexen and JavaScript regexen are similar but different sublanguages. For simple stuff you may be able to get away with passing JS the stringified version, but a safer alternative would be to use YAPE::Regex to get a parse tree you could walk and translate/downgrade to something suitable for JS.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: Can qr be un-compiled?
by Fletch
in thread Can qr be un-compiled?
by cosmicperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |