Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Verify string as ethernet addressby fs (Monk) |
on May 30, 2001 at 21:52 UTC ( [id://84326]=note: print w/replies, xml ) | Need Help?? |
":" and "-" are equivalent octet seperators. The presence of any other characters means the string isn't a valid ethernet address. With that change "dead beef is cool!" would match, but it shouldn't.
In Section
Cool Uses for Perl
|
|