#558 tweaked to handle only \t or \r preceded by an even number of
backslashes.

See 7692ab77cf355009dc26aabe3f90eca6e00c8aa6
Merge pull request #563 from solde9/escapingTabsErroneouslyInSubstitions2

#558 tweaked to handle an even number of backslashes