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.Update: I looked through Regexp::Common, but found nothing I recognized as parsing MAC address. 8^P
In Section
Seekers of Perl Wisdom