Skip to content

Commit

Permalink
Fix issue from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
peblair committed Aug 22, 2021
1 parent 26c8e81 commit 472fbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/regex.gr
Original file line number Diff line number Diff line change
Expand Up @@ -2417,7 +2417,7 @@ let compileRegexToMatcher = (re: ParsedRegularExpression) => {
},
REGroup(re, n) => groupPushMatcher(n, compile(re, groupSetMatcher(n, next_m))),
REReference(0, _) => neverMatcher,
REReference(n, true) when caseSensitive => referenceMatcher(n - 1, next_m), // case-sensitive
REReference(n, true) => referenceMatcher(n - 1, next_m), // case-sensitive
REReference(n, _) => referenceMatcherCaseInsensitive(n - 1, next_m),
RECut(re, nStart, numN, _) => cutMatcher(compile(re, done_m), nStart, numN, next_m),
REConditional(tst, reTrue, reFalse, nStart, numN, _) => {
Expand Down

0 comments on commit 472fbb8

Please sign in to comment.