Lines Matching refs:enforce

165     enforce(str.length >= maxDigit,"incomplete escape sequence");
179 enforce(val <= 0x10FFFF, "invalid codepoint");
293 enforce(ir.length < maxCompiledLength,
300 enforce(ir.length < maxCompiledLength,
365 enforce(groupStack.top <= maxGroupNumber, "limit on number of submatches is exceeded");
376 enforce(groupStack.top <= maxGroupNumber, "limit on submatches is exceeded");
394 enforce(lookaroundNest <= maxLookaroundDepth,
485 enforce(ir.length + len < maxCompiledLength, "maximum compiled pattern length is exceeded");
539 enforce(ir[fix].code == IR.Option, "no matching ')'");
542 enforce(ir[fix].code == IR.OrStart, "no matching ')'");
694 enforce(next(), "Unfinished escape sequence");
695 enforce(('a' <= current && current <= 'z') || ('A' <= current && current <= 'Z'),
846 enforce(g.nesting, "Unmatched ')'");
867 enforce(g.fixupLength == 1, "no matching ')'");
893 enforce(next(), "Unexpected end of regex pattern");
894 enforce(std.ascii.isDigit(current), "First number required in repetition");
954 enforce(_next(), "Unfinished escape sequence");
1186 enforce(false, "no matching ']' found while parsing character class");
1187 enforce(false, "invalid escape sequence");
1211 enforce(last <= current, "inverted range");
1262 enforce(false, "no matching ']' found while parsing character class");
1270 enforce(false, "invalid escape sequence");
1272 enforce(last <= end,"inverted range");
1277 enforce(next(), "unexpected end of CodepointSet");
1307 enforce(!stack.empty, "no operand for '^'");
1312 enforce(!stack.empty, "no operand for '||'");
1317 enforce(!stack.empty, "no operand for '--'");
1322 enforce(!stack.empty, "no operand for '~~'");
1327 enforce(!stack.empty, "no operand for '&&'");
1354 enforce(next(), "unexpected end of character class");
1358 enforce(next(), "unexpected end of character class");
1362 enforce(next(), "wrong character set");
1375 enforce(unrollWhile!(unaryFun!"a != a.Open")(vstack, opstack),
1377 enforce(!opstack.empty, "unmatched ']'");
1407 enforce(opstack.top != Operator.Open,
1479 enforce(nref < maxBackref, "Backref to unseen group");
1488 enforce(!g.isOpenGroup(nref), "Backref to open group");
1505 enforce(false, "invalid escape sequence");
1525 enforce(next(), "eof parsing unicode property spec");
1531 enforce(k != MAX_PROPERTY, "invalid property name");
1532 enforce(current == '}', "} expected ");
1536 enforce(current < 0x80, "invalid property name");
1541 enforce(!s.empty, "unrecognized unicode property spec");
1605 enforce(cumRange < maxCumulativeRepetitionLength,