in reply to Parse a large string
print join "\n", $text =~ /(?:Nullam|Donec) [^.]+ (?:augue|libero)/gx
I'm with you on this one, mwah, but wonder what you need the x modifier for - it appears to make no difference...
Right, it doesn't make any difference here by accident or simplicity of the problem ;-)
The /x is meant to mark withespaces in regexes as "not meant as part of the expression".
Thanks & Regards
No recent polls found