Opened 12 years ago
Closed 12 years ago
#76 closed defect (fixed)
REPLACE on strings incorrect
Reported by: | Raymond Toy | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | 2013-03 |
Keywords: | Cc: |
Description
Consider:
(defun zot (workspace s) (declare (simple-string workspace s)) (replace workspace s :start1 1 :end1 5 :start2 1 :end2 5)) (defparameter *r* (make-string 40 :initial-element #\A)) (compile 'zot) (zot *r* "a12345")
After executing this, *r*
should contain "A1234AAAA.." but it actually contains "a1234AAAA..". The start1
and start2
indices were not honored.
Note: See
TracTickets for help on using
tickets.
commit 45fabc8f3fad8876627831708ec3c997d46ce4f8 Author: Raymond Toy <toy.raymond@…> Date: Wed Mar 6 00:27:44 2013 -0800