http://www.perlmonks.org?node_id=1026121


in reply to Re: regex pattern match
in thread regex pattern match

Nice approach.