like next line RegExp, which with repeat symbol ( + or * ), it will be wrong
/(ba)+.(a*)/
regexp.execForAllGroups('bababaaaaa', true);
matches: [ { match: 'ba', start: 0, end: 2 },
{ match: 'aaa', start: 3, end: 6 } ]
I think the regexp should change to /((ba)+).(a*)/ when calculate the next match position
like next line RegExp, which with repeat symbol (
+or*), it will be wrong/(ba)+.(a*)/I think the regexp should change to
/((ba)+).(a*)/when calculate the next match position