Added { and } to the characters to be quoted within literal strings.
This commit is contained in:
parent
43cd435bad
commit
f5d958ac91
|
@ -319,7 +319,7 @@
|
||||||
;;; quote the special chars with backslashes.
|
;;; quote the special chars with backslashes.
|
||||||
|
|
||||||
(define translate-string
|
(define translate-string
|
||||||
(let ((specials (string->char-set "[.*?()|\\$^+")))
|
(let ((specials (string->char-set "{}[.*?()|\\$^+")))
|
||||||
(lambda (s)
|
(lambda (s)
|
||||||
(let ((len (string-length s)))
|
(let ((len (string-length s)))
|
||||||
(if (zero? len)
|
(if (zero? len)
|
||||||
|
|
Loading…
Reference in New Issue