in reply to Can qr be un-compiled?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can qr be un-compiled?
by massa (Hermit) on Feb 03, 2009 at 15:34 UTC | |
by ikegami (Patriarch) on Feb 03, 2009 at 19:57 UTC | |
by cosmicperl (Chaplain) on Feb 03, 2009 at 18:57 UTC |