FIX: Unexpected behavior of searching again the same regex on the same string.