in reply to Expression matching
Using that code on the example data you provided actually works for me. So I suspect you are running into a bug in the regular expression engine in your version of Perl.