std.regex - fix issue 12105

Handle the case where a lazy quantified loop will have pessimistic empty "quick test", for example in front of a lookaround.