in reply to Can qr be un-compiled?
It stringifies to a pattern.
>perl -le"print qr/abc/" (?-xism:abc)
Note that JavaScript and Perl's regexp languages differ.
Update: Added example
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can qr be un-compiled?
by cosmicperl (Chaplain) on Feb 03, 2009 at 13:35 UTC | |
by ikegami (Patriarch) on Feb 03, 2009 at 14:30 UTC | |
by cosmicperl (Chaplain) on Feb 03, 2009 at 14:52 UTC | |
by ikegami (Patriarch) on Feb 03, 2009 at 15:43 UTC |