We don't bite newbies here... much | |
PerlMonks |
Re: Re: Risks in the oblivious use of qr//by diotalevi (Canon) |
on Aug 11, 2003 at 22:14 UTC ( [id://283047]=note: print w/replies, xml ) | Need Help?? |
The implementation stores the original string internally to the compiled (and opaque) regex and when it constructs a stringified version it just slaps on a "(?..:" and ")" around the original string. Perl doesn't go to the trouble of actually normallizing the regex - it just outputs what it was originally given.
In Section
Meditations
|
|