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


in reply to pattern matching

I think: There's a .+? part in the pattern. If it's different in the 2 supposed match, the + won't find it, it looks for exactly the same pattern that it found first. I could be wrong.


I'm too lazy to be proud of being impatient.