Lines Matching refs:prestr
68 static uschar *prestr; /* current position in current re */
638 lastre = prestr = (uschar *) p; /* prestr points to string to be parsed */
647 FATAL("syntax error in regular expression %s at %s", lastre, prestr);
708 FATAL("syntax error in regular expression %s at %s", lastre, prestr);
710 FATAL("illegal primary in regular expression %s at %s", lastre, prestr);
873 prestr = buf + prefix_length;
875 prestr -= atomlen;
933 starttok = prestr;
935 switch (c = *prestr++) {
941 case '\0': prestr--; return '\0';
948 rlxval = quoted(&prestr);
957 if (*prestr == '^') {
959 prestr++;
963 n = 2 * strlen((const char *) prestr)+1;
967 if ((c = *prestr++) == '\\') {
969 if ((c = *prestr++) == '\0')
974 } else if (c == '[' && *prestr == ':') {
977 if (strncmp((const char *) prestr + 1, (const char *) cc->cc_name, cc->cc_namelen) == 0)
979 if (cc->cc_name != NULL && prestr[1 + cc->cc_namelen] == ':' &&
980 prestr[2 + cc->cc_namelen] == ']') {
981 prestr += cc->cc_namelen + 3;
1000 } else if (c == '[' && *prestr == '.') {
1002 prestr++;
1003 collate_char = *prestr++;
1004 if (*prestr == '.' && prestr[1] == ']') {
1005 prestr += 2;
1011 if (*prestr == ']') {
1012 prestr++;
1017 } else if (c == '[' && *prestr == '=') {
1019 prestr++;
1020 equiv_char = *prestr++;
1021 if (*prestr == '=' && prestr[1] == ']') {
1022 prestr += 2;
1028 if (*prestr == ']') {
1029 prestr++;
1050 if (isdigit(*(prestr))) {
1055 startreptok = prestr-1;
1062 if ((c = *prestr++) == '}') {
1085 if (repeat(starttok, prestr-starttok, lastatom,