Closed ColinEberhardt closed 3 years ago
ac matched against ([a-c]){2} should return a single capture group with the value c:
ac
([a-c]){2}
c
https://regex101.com/r/K97m2f/1/
In the current implementation the capture group is duplicated, returning both a and c.
a
fixed by: https://github.com/ColinEberhardt/assemblyscript-regex/commit/84027b880b074ade59d1b39f97bc7c0c4ca6a569
ac
matched against([a-c]){2}
should return a single capture group with the valuec
:https://regex101.com/r/K97m2f/1/
In the current implementation the capture group is duplicated, returning both
a
andc
.