"be consistent" | |
PerlMonks |
Re^2: Soliciting Multiline SIP Searching Suggestions (.*)by tye (Sage) |
on Mar 17, 2008 at 23:38 UTC ( [id://674674]=note: print w/replies, xml ) | Need Help?? |
/.*?/s isn't enough to prevent that part of the regex from gobbling up multiple lines and also backtracking pathologically. For example, your regex will incorrectly match (after you fix \r \n? to \r? \n or just \n):
- tye
In Section
Seekers of Perl Wisdom
|
|