reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
333 p->end = p->next + len; 404 while (MORE() && (c = PEEK()) != '|' && c != stop) 408 if (!EAT('|')) 452 REQUIRE(MORE(), REG_EPAREN); 458 if (!SEE(')')) 465 MUSTEAT(')', REG_EPAREN); 508 REQUIRE(MORE(), REG_EESCAPE); 540 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); 547 if (!MORE()) 552 (c == '{' && MORE2() && isdigit((uch)PEEK2())) )) 580 if (EAT(',')) { 589 if (!EAT('}')) { /* error heuristics */ 590 while (MORE() && PEEK() != '}') 592 REQUIRE(MORE(), REG_EBRACE); 598 if (!MORE()) 602 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ) ) 613 REQUIRE(MORE(), REG_EMPTY); 614 while (MORE()) 637 if (EAT('^')) { 642 while (MORE() && !SEETWO(end1, end2)) { 642 while (MORE() && !SEETWO(end1, end2)) { 676 REQUIRE(MORE(), REG_EESCAPE); 699 if (MORE() && !SEETWO('\\', ')')) 699 if (MORE() && !SEETWO('\\', ')')) 706 REQUIRE(EATTWO('\\', ')'), REG_EPAREN); 743 if (EAT('*')) { /* implemented as +? */ 749 } else if (EATTWO('\\', '{')) { 751 if (EAT(',')) { 752 if (MORE() && isdigit((uch)PEEK())) { 760 if (!EATTWO('\\', '}')) { /* error heuristics */ 761 while (MORE() && !SEETWO('\\', '}')) 761 while (MORE() && !SEETWO('\\', '}')) 763 REQUIRE(MORE(), REG_EBRACE); 781 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) { 803 if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", 6) == 0) { 808 if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", 6) == 0) { 819 if (EAT('^')) 821 if (EAT(']')) 823 else if (EAT('-')) 825 while (MORE() && PEEK() != ']' && !SEETWO('-', ']')) 825 while (MORE() && PEEK() != ']' && !SEETWO('-', ']')) 827 if (EAT('-')) 829 MUSTEAT(']', REG_EBRACK); 883 switch ((MORE()) ? PEEK() : '\0') { 885 c = (MORE2()) ? PEEK2() : '\0'; 899 REQUIRE(MORE(), REG_EBRACK); 903 REQUIRE(MORE(), REG_EBRACK); 904 REQUIRE(EATTWO(':', ']'), REG_ECTYPE); 908 REQUIRE(MORE(), REG_EBRACK); 912 REQUIRE(MORE(), REG_EBRACK); 913 REQUIRE(EATTWO('=', ']'), REG_ECOLLATE); 918 if (SEE('-') && MORE2() && PEEK2() != ']') { 918 if (SEE('-') && MORE2() && PEEK2() != ']') { 921 if (EAT('-')) 947 while (MORE() && isalpha((uch)PEEK())) 988 REQUIRE(MORE(), REG_EBRACK); 989 if (!EATTWO('[', '.')) 994 REQUIRE(EATTWO('.', ']'), REG_ECOLLATE); 1009 while (MORE() && !SEETWO(endc, ']')) 1009 while (MORE() && !SEETWO(endc, ']')) 1011 if (!MORE()) { 1050 char *oldend = p->end; 1056 p->end = bracket+2; 1063 p->end = oldend; 1092 char *oldend = p->end; 1096 p->end = bracket+3; 1104 p->end = oldend; 1186 p->end = nuls;