forgot ^...$ wrappers

svn: r3152

original commit: d16aca9679532f2177747a45ff8687be64e85f21
This commit is contained in:
Eli Barzilay 2006-05-31 18:54:08 +00:00
parent af91af3534
commit f2cc1bf72d

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