apply suggestions from asgerf

This commit is contained in:
Erik Krogh Kristensen
2021-10-04 12:45:02 +02:00
parent aafae24ef2
commit 8d6cac76cc
4 changed files with 14 additions and 14 deletions

View File

@@ -153,7 +153,7 @@ private module RegexpMatching {
private State getAStateThatReachesAccept(
MatchedRegExp reg, int i, string str, boolean ignorePrefix
) {
// base base, reaches an accepting state from the last state in `getAState(..)`
// base case, reaches an accepting state from the last state in `getAState(..)`
reg.testWithGroups(str, ignorePrefix) and
i = str.length() - 1 and
result = getAState(reg, i, str, ignorePrefix) and