forgot ^...$ wrappers

svn: r3152
This commit is contained in:
Eli Barzilay 2006-05-31 18:54:08 +00:00
parent 8607cacc08
commit d16aca9679

View File

@ -509,7 +509,7 @@
(loop2 (cons c chars) (add1 i)))))))]
[else (loop (cons c r) (add1 i))]))
(let* ([r (reverse! r)]
[r (if hide-dots? (hide-dots r) r)])
[r `((#\^) ,@(if hide-dots? (hide-dots r) r) (#\$))])
(regexp
(list->string
(apply append