chicken-users
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]