fix incorrect interpretation of 'eof in new find-string implementation
original commit: 13d7e264c4c78a0a029a4a1427b2130ac262d6be
This commit is contained in:
parent
290b5c6893
commit
72ac3e8972
|
@ -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