Opened 7 years ago

Closed 5 years ago

#1252 closed defect (fixed)

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

Reported by: Caolan McMahon Owned by: Alex Shinn
Priority: major Milestone: someday
Component: extensions Version: 4.10.x
Keywords: utf8, srfi-13 Cc:
Estimated difficulty: medium

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)	<--

Change History (3)

comment:1 Changed 7 years ago by Mario Domenech Goulart

Component: unknownextensions
Keywords: utf8 srfi-13 added
Owner: set to Alex Shinn
Status: newassigned

comment:2 Changed 6 years ago by sjamaan

Estimated difficulty: medium

comment:3 Changed 5 years ago by LemonBoy

Resolution: fixed
Status: assignedclosed

This is not a problem anymore.

Note: See TracTickets for help on using tickets.