builtin: Add CTLESC before all CCTLs in dollar single quote

If a backslash that comes from dollar-single quote escape sequence
is used as a pattern, it should be escaped automatically so that
it's interpreted as a literal backslash, rather than as a quoting
character.

Reported-by: Martijn Dekker <martijn@inlv.org>
Fixes: 776424a8f915 ("parser: Add dollar single quote")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 file changed
tree: dcb483654ae335adfa04fbfab99df9381aed86bb
  1. src/
  2. .gitignore
  3. autogen.sh
  4. ChangeLog
  5. ChangeLog.O
  6. configure.ac
  7. COPYING
  8. Makefile.am