They index the match registers, whose count is an int, rather than a String, so rb_len_t does not apply. Only the length of a group name given as a String stays in rb_len_t. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>