Merge r1307067 from trunk: 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. Submitted by: sf Reviewed/backported by: jim