Home | History | Annotate | Download | only in dist

Lines Matching refs:escape

144 on. Zero means further processing is needed (for things like \x), or the escape
358 general substitute of a Unicode property escape (\p or \P). However, for some
457 "invalid escape sequence in character class\0"
974 positive value for a simple escape such as \n, or 0 for a data character which
978 character of the escape sequence.
989 positive => a special escape sequence
1002 int escape = 0;
1020 { if (i > 0) c = (pcre_uint32)i; else escape = -i; }
1025 else if ((i = escapes[c - 0x48]) != 0) { if (i > 0) c = (pcre_uint32)i; else escape = -i; }
1112 escape = ESC_g;
1125 escape = ESC_k;
1182 escape = -s;
1185 escape sequences consisting of a string of digits
1228 escape = -s;
1453 if (escape == ESC_N && ptr[1] == CHAR_LEFT_CURLY_BRACKET &&
1459 if ((options & PCRE_UCP) != 0 && escape >= ESC_D && escape <= ESC_w)
1460 escape += (ESC_DU - ESC_D);
1466 return escape;
1479 escape sequence.
3840 below handles the special case of \], but does not try to do any other escape
4402 int escape;
4937 different escape sequences that use Unicode properties \p or \P. Others
5045 escape = check_escape(&ptr, &ec, errorcodeptr, cd->bracount, options,
5048 if (escape == 0) c = ec;
5049 else if (escape == ESC_b) c = CHAR_BS; /* \b is backspace in a class */
5050 else if (escape == ESC_N) /* \N is not supported in a class */
5055 else if (escape == ESC_Q) /* Handle start of quoted string */
5064 else if (escape == ESC_E) continue; /* Ignore orphan \E */
5074 switch (escape)
5079 case ESC_wu: /* escape sequence with an appropriate \p */
5084 ptr = substitutes[escape - ESC_DU] - 1; /* Just before substitute */
5152 *class_uchardata++ = ((escape == ESC_p) != negated)?
5178 /* Fall through if the escape just defined a single character (c >= 0).
5181 escape = 0;
5242 /* The second part of a range can be a single-character escape
5307 /* Handle a single character - we can get here for a normal non-escape
7688 escape = check_escape(&ptr, &ec, errorcodeptr, cd->bracount, options, FALSE);
7691 if (escape == 0) /* The escape coded a single character */
7695 if (escape == ESC_Q) /* Handle start of quoted string */
7703 if (escape == ESC_E) continue; /* Perl ignores an orphan \E */
7708 if (firstcharflags == REQ_UNSET && escape > ESC_b && escape < ESC_Z)
7725 if (escape == ESC_g)
7768 if (escape == ESC_k)
7787 if (escape < 0)
7790 recno = -escape;
7820 else if (escape == ESC_P || escape == ESC_p)
7827 *code++ = ((escape == ESC_p) != negated)? OP_PROP : OP_NOTPROP;
7836 else if (escape == ESC_X || escape == ESC_P || escape == ESC_p)
7844 can obtain the OP value by negating the escape value in the default
7851 if ((escape == ESC_b || escape == ESC_B || escape == ESC_A) &&
7855 if (escape >= ESC_DU && escape <= ESC_wu)
7858 ptr = substitutes[escape - ESC_DU] - 1; /* Just before substitute */
7866 previous = (escape > ESC_b && escape < ESC_Z)? code : NULL;
7867 *code++ = (!utf && escape == ESC_C)? OP_ALLANY : escape;