Improve ability of halfEscapeMatch() to fix potential negation and alternation errors