The stupid question is the question not asked | |
PerlMonks |
Re: Naughty Regular Expressions and mod_perlby SavannahLion (Pilgrim) |
on Dec 20, 2003 at 08:07 UTC ( [id://316018]=note: print w/replies, xml ) | Need Help?? |
Regex is still a bit of an alien beast to me so forgive me if this sounds really simpleton.
edit:You know what? My poor addled brain finally put three and two together after I read each word on that page in Camel over and realized that they make whole paragraphs. The performance hit occurs for capturing paranthesis, but it's limited in scope to the specific regex in question. It doesn't incur the same global penalty as $&, $`, $' does. I think I'll go sleep on the floor now.
---- Thanks for you patience.
In Section
Seekers of Perl Wisdom
|
|