in reply to
Can qr be un-compiled?
for( @regexes ) { s/^\(\?[-\w]*://; s/)$//; }
[download]
-
tye
Comment on
Re: Can qr be un-compiled? (re+=1)
Download
Code
Replies are listed 'Best First'.
Re^2: Can qr be un-compiled? (re+=1)
by
cosmicperl
(Chaplain)
on Feb 03, 2009 at 16:01 UTC
/i is ok. JavaScript understands that. I was thinking of just re-creating the string with a regexp in the first place, but thought there might be a proper way of doing it... Seems I should have just gone with my gut :/
[reply]
In Section
Seekers of Perl Wisdom