cre2
cre2 copied to clipboard
Return all named groups when iterating
Currently, when the same name is declared multiple times, the iterator will only return one of them. This doesn't seem to be the intent of a named group iterator, so instead we use the int->string map which contains all groups.
This should be a compatible change because the struct cre2_named_groups_iter
is not exported.