Closed ColinEberhardt closed 3 years ago
Current behaviour - (a|b)c|a(b|c) when executed against ab returns values from both capture groups
(a|b)c|a(b|c)
ab
Another example of the same issue:
const regexObj = new RegExp("([abc])*bcd"); const match = regexObj.exec("abcd");
closed by https://github.com/ColinEberhardt/assemblyscript-regex/commit/be6f7b581d86ae2f828fed0d2f9328692d55538f
Current behaviour -
(a|b)c|a(b|c)
when executed againstab
returns values from both capture groups