Syntactic Confectionery Delight | |
PerlMonks |
Re: Regex and splittingby GrandFather (Saint) |
on Apr 29, 2012 at 04:34 UTC ( [id://967897]=note: print w/replies, xml ) | Need Help?? |
Either split first and match just the IP part, or remove the $ from the end of your regular expression. The $ matches the end of the line so the total match fails because there is stuff after the IP number.
True laziness is hard work
In Section
Seekers of Perl Wisdom
|
|