Closed stevenjohnstone closed 6 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
matching/repeat.go | 10 | 11 | 90.91% | ||
<!-- | Total: | 10 | 11 | 90.91% | --> |
Totals | |
---|---|
Change from base Build 17: | -0.06% |
Covered Lines: | 1057 |
Relevant Lines: | 1102 |
Nice catch, thank you !
regexp2's FindStringMatchStartingAt takes a string index as input. The output matches refer to rune array indices. These need to be converted to string indices to be passed safely into FindStringMatchStartingAt in the loop.