rd-escape now escapes occurrences of '$'