std.regex - fix issue 12105

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