Opened 23 months ago

Closed 4 weeks ago

#1252 closed defect (fixed)

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

Reported by: caolan Owned by: ashinn
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 23 months ago by mario

  • Component changed from unknown to extensions
  • Keywords utf8 srfi-13 added
  • Owner set to ashinn
  • Status changed from new to assigned

comment:2 Changed 15 months ago by sjamaan

  • Estimated difficulty set to medium

comment:3 Changed 4 weeks ago by LemonBoy

  • Resolution set to fixed
  • Status changed from assigned to closed

This is not a problem anymore.

Note: See TracTickets for help on using tickets.