[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Using irregex safely & responsibly
From: |
Jim Ursetto |
Subject: |
Re: [Chicken-users] Using irregex safely & responsibly |
Date: |
Mon, 11 Oct 2010 12:45:27 -0500 |
On Sun, Oct 10, 2010 at 23:17, Alex Shinn <address@hidden> wrote:
> Jim Ursetto <address@hidden> writes:
>
>> There is some inconsistency in the docs:
>>
>> irregex-match-num-submatches: Returns the number of numbered
>> submatches that are defined in the
>> irregex or match object.
>> irregex-match-valid-index?: Returns {{#t}} iff the {{index-or-name}}
>> named submatch or index is defined in the {{match}} object.
>>
>> But below, *-valid-index? says undefined when *-num-submatches says defined:
>
> Not quite, *-valid-index? says "invalid", not "undefined".
Indeed, but it says "defined" in the Chicken docs reproduced above,
which is why I said there was an inconsistency in the docs.
This was more a note for the Chicken docs to be clarified (I couldn't
find this documented in the official irregex docs at all).
Jim
- Re: [Chicken-users] Using irregex safely & responsibly [Was: Re: dev-snapshot 4.6.3], (continued)
- Re: [Chicken-users] Using irregex safely & responsibly [Was: Re: dev-snapshot 4.6.3], Peter Bex, 2010/10/08
- Re: [Chicken-users] Using irregex safely & responsibly [Was: Re: dev-snapshot 4.6.3], Peter Bex, 2010/10/08
- Re: [Chicken-users] Using irregex safely & responsibly [Was: Re: dev-snapshot 4.6.3], Jim Ursetto, 2010/10/08
- Re: [Chicken-users] Using irregex safely & responsibly [Was: Re: dev-snapshot 4.6.3], Jim Ursetto, 2010/10/08
- Re: [Chicken-users] Using irregex safely & responsibly, Felix, 2010/10/08
- Re: [Chicken-users] Using irregex safely & responsibly, Alex Shinn, 2010/10/11
- Re: [Chicken-users] Using irregex safely & responsibly, Peter Bex, 2010/10/11
- Re: [Chicken-users] Using irregex safely & responsibly, Jim Ursetto, 2010/10/11
- Re: [Chicken-users] Using irregex safely & responsibly, Alex Shinn, 2010/10/11
- Re: [Chicken-users] Using irregex safely & responsibly, Peter Bex, 2010/10/11
- Re: [Chicken-users] Using irregex safely & responsibly,
Jim Ursetto <=