in reply to Can qr be un-compiled?

for( @regexes ) { s/^\(\?[-\w]*://; s/)$//; }

- tye        

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 :/