Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Duplicate named capture groups: Fix match arrays
Each named capturing group should count as its own parenthesized capturing group, even if it has the same name as another group. So, some of these expectations were missing `undefined` array elements for the variant of the `x` capturing group that didn't match. In the other expectations, we forgot to take into account that the backreference is not inside a capturing group, so the group match should not have doubled letters in it.
- Loading branch information