On Sun, Oct 10, 2010 at 23:17, Alex Shinn <alexsh...@gmail.com> wrote: > Jim Ursetto <zbignie...@gmail.com> 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 _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users