We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a840df + 07090ae commit 9cbc862Copy full SHA for 9cbc862
std/regex/internal/parser.d
@@ -1501,13 +1501,12 @@ pure:
1501
}
1502
1503
checkIfOneShot();
1504
- if (!(flags & RegexInfo.oneShot))
+ if (!(flags & RegexInfo.oneShot) && !__ctfe)
1505
{
1506
kickstart = new ShiftOr!Char(zis);
1507
if (kickstart.empty)
1508
1509
- if (!__ctfe)
1510
- kickstart = new BitMatcher!Char(zis);
+ kickstart = new BitMatcher!Char(zis);
1511
1512
kickstart = null;
1513
0 commit comments