in reply to
Regex Inline Match operator ?m
/^((^|\n)Nov 29[^\n]*)+$/s
should work.
Comment on
Re: Regex Inline Match operator ?m
Download
Code
Replies are listed 'Best First'.
Re^2: Regex Inline Match operator ?m
by
ikegami
(Patriarch)
on May 06, 2010 at 01:07 UTC
I added a space after the day in mine. It's not a likely to be a problem for Nov 29, but if he reuses the regex for Dec 1 (for example), the lack of space will let other dates (such as Dec 18) through.
[reply]
In Section
Seekers of Perl Wisdom