Fix bug causing regular expressions marked both as “wide” and “ascii” to be tried only as “wide”