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


in reply to Combining Regex

.+

Both your ".+" parts of the regex ask to match something where in your example data there isn't anything. Take 'em out.

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)