[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #889: irregex-match-end gives odd results with ch
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #889: irregex-match-end gives odd results with chunked searches |
Date: |
Mon, 30 Jul 2012 23:50:39 -0000 |
#889: irregex-match-end gives odd results with chunked searches
-----------------------------+----------------------------------------------
Reporter: megane | Owner:
Type: defect | Status: closed
Priority: major | Milestone:
Component: core libraries | Version: 4.7.x
Resolution: invalid | Keywords: irregex
-----------------------------+----------------------------------------------
Changes (by ashinn):
* status: new => closed
* resolution: => invalid
Comment:
This is correct. In the chunked API, the indexes are not
absolute, but instead are relative to the start of the chunk.
You can get the chunk with irregex-match-start/end-chunk.
If this is hard to work with you can use irregex-match-substring
which will just give you a string regardless of whether the
data was chunked or not.
--
Ticket URL: <http://bugs.call-cc.org/ticket/889#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.