add flipEscaping so that '|' can be used as an OR in regular expressions or as a literal
character, depending on whether it was escaped or not.