added patternMatching.pl

patternMatching.pl is an example file for perl regex procedures.