chickadee » chicken » irregex » irregex-match-end-chunk

irregex-match-subchunk <match> #!optional <index-or-name>procedure
irregex-match-start-chunk <match> #!optional <index-or-name>procedure
irregex-match-end-chunk <match> #!optional <index-or-name>procedure

Access the chunks delimiting the submatch index, or named submatch.

irregex-match-subchunk generates a chunked data-type for the given match item, of the same type as the underlying chunk type (see Chunked String Matching below). This is only available if the chunk type specifies the get-subchunk API, otherwise an error is raised.

Returns #f if the given submatch did not match the source string (can happen when you have the submatch inside an or alternative, for example).