http://qs321.pair.com?node_id=347449


in reply to Long regexp un multiple lines

While not directly addressing your explicit question...

If your underlying problem is validating MAC addresses, then Net::Address::Ethernet might be of some interest.   Particularly the is_address function.

  cheers,
  ybiC

  striving toward Perl Adept
  (it's pronounced "why-bick")

Update: I looked through Regexp::Common, but found nothing I recognized as parsing MAC address.   8^P

Replies are listed 'Best First'.
Re: Re: Long regexp un multiple lines
by Lorand (Beadle) on Apr 23, 2004 at 16:29 UTC
    Yes, when I searched on the net for the regexp, I've seen that module, but why use an extra module, if it is possible without and quite simply? If I needed to check more address types, maybe...