Added { and } to the characters to be quoted within literal strings.

This commit is contained in:
mainzelm 2002-05-02 11:46:44 +00:00
parent 43cd435bad
commit f5d958ac91
1 changed files with 1 additions and 1 deletions

View File

@ -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)