good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Regular Expression for MAC Addressby marius (Hermit) |
on May 26, 2001 at 00:54 UTC ( [id://83428]=note: print w/replies, xml ) | Need Help?? |
Petdance, Good catch on the intermixed colons and dashes. The thought of that honestly had not crossed my mind. The backreferencing was a good way to do this. It's not very often that I run across spots to backref in a match or the LHS of a substitution. ++ all around to all responders! -marius
In Section
Seekers of Perl Wisdom
|
|