ColinEberhardt/assemblyscript-regex

capture groups with quantifiers should not be repeated in the returned results

ColinEberhardt opened this issue · 1 comments

ac matched against ([a-c]){2} should return a single capture group with the value c:

https://regex101.com/r/K97m2f/1/

In the current implementation the capture group is duplicated, returning both a and c.