in reply to Re: Re: Verify string as ethernet address
in thread Verify string as ethernet address
Macintoshes tend to display their MAC address as a series of space separated octets.
What you really want to do is to check that the octets are separated by a \W character. That way, you'll get "44:45 53,4f'2g;56" but not "dead beef is cool!".
--
iain. <http://eh.org/~koschei/>
In Section
Cool Uses for Perl