fixing bug in string-find?

This commit is contained in:
Alex Shinn 2016-04-08 22:05:46 +09:00
parent d1a7f54114
commit f32e3086b5

View file

@ -71,7 +71,7 @@
(end (if (and (pair? o) (pair? (cdr o)))
(cadr o)
(string-cursor-end str))))
(< (string-find str check start end) end)))
(string-cursor<? (string-find str check start end) end)))
;;> As \scheme{string-find}, but returns the position of the first
;;> character from the right of \var{str}. If no character matches,