Fixed a bug in the construction of the regexp for [...] backet globs.
Reported by Harvey Stein. -Olin
This commit is contained in:
parent
dd46b8fa14
commit
d28653add1
|
@ -122,10 +122,9 @@
|
|||
(cons re-any (str-cons chars res))
|
||||
i))
|
||||
|
||||
((#\[) (receive (cset i) (parse-glob-bracket pat i)
|
||||
((#\[) (receive (re i) (parse-glob-bracket pat i)
|
||||
(lp '()
|
||||
(cons (re-char-set cset)
|
||||
(str-cons chars res))
|
||||
(cons re (str-cons chars res))
|
||||
i)))
|
||||
|
||||
(else (lp (cons c chars) res i))))))))))
|
||||
|
|
Loading…
Reference in New Issue