Summary

utf8-srfi-13 string-index-right treats bounds differently to srfi-13

Metadata

Description

 (use srfi-13)
 (string-index-right "foo" #\@ 0 0)
 ;; => #f
 
 (use utf8-srfi-13)
 (string-index-right "foo" #\@ 0 0)
 
 Error: index out of range
 "foo"
 -1
 
 	Call history:
 
 	<syntax>	  (string-index-right "foo" #\@ 0 0)
 	<eval>	  (string-index-right "foo" #\@ 0 0)	<--

Changes and comments

[2016-01-07 14:37:27 UTC] mario set keywords to utf8, srfi-13

[2016-01-07 14:37:27 UTC] mario changed status from new to assigned

[2016-01-07 14:37:27 UTC] mario changed component from unknown to extensions

[2016-01-07 14:37:27 UTC] mario set owner to ashinn

[2016-08-25 20:29:18 UTC] sjamaan set difficulty to medium

[2017-10-25 20:51:10 UTC] LemonBoy changed status from assigned to closed

[2017-10-25 20:51:10 UTC] LemonBoy set resolution to fixed

[2017-10-25 20:51:10 UTC] LemonBoy wrote:

This is not a problem anymore.