http://qs321.pair.com?node_id=406661


in reply to Re^2: Non-greedy regex behaves greedily
in thread Non-greedy regex behaves greedily

Yes, yes it does.

? doesn't make it any more or less optional, just non-greedy.