fix incorrect interpretation of 'eof in new find-string implementation
This commit is contained in:
parent
0a8764b470
commit
13d7e264c4
|
@ -3559,7 +3559,7 @@
|
|||
just-one? beginning-of-match? case-sens? recur-inside?)
|
||||
(define end
|
||||
(cond
|
||||
[(equal? _end 'eof) (last-position)]
|
||||
[(equal? _end 'eof) (if (equal? direction 'forward) (last-position) 0)]
|
||||
[else _end]))
|
||||
(define start
|
||||
(cond
|
||||
|
|
Loading…
Reference in New Issue
Block a user