in reply to
RegExp Pattern Matching Behavior
missing brackets in ..3-30.., this ways it will only match 3 followed by - etc.. the right is :
/.*Line\s[3-30]\s+(\w-+)\s+.*/i
Comment on
Re: RegExp Pattern Matching Behavior
Download
Code
Replies are listed 'Best First'.
Re^2: RegExp Pattern Matching Behavior
by
kennethk
(Abbot)
on Jun 25, 2009 at 14:46 UTC
Note that the OP has
3-30
(and not 3-30) in the regular expression because the poster included square brackets but forgot code tags.
[reply]
In Section
Seekers of Perl Wisdom