Fix treatment of regex backreferences. r904765 only made half of the necessary changes to remove the use of '&' as an alias for '$0' and allow to escape any character with a backslash.