laziness, impatience, and hubris | |
PerlMonks |
Re: Reg Exp to handle variations in the matched patternby bitingduck (Chaplain) |
on Feb 22, 2012 at 15:46 UTC ( [id://955554]=note: print w/replies, xml ) | Need Help?? |
I agree that something's not quite clear about what you're trying to match. Do you want the \r to be at the end of the line? Then you can use the $ anchor at the end of the regex.
In Section
Seekers of Perl Wisdom
|
|