Home
last modified time | relevance | path

Searched refs:PCRE2_UCP (Results 1 – 21 of 21) sorted by relevance

/third_party/rust/crates/regex/bench/src/ffi/
Dpcre2.rs43 PCRE2_UCP | PCRE2_UTF, in new()
145 const PCRE2_UCP: u32 = 0x00020000; constant
/third_party/pcre2/pcre2/src/
Dpcre2_fuzzsupport.c31 PCRE2_UCP|PCRE2_UNGREEDY|PCRE2_USE_OFFSET_LIMIT| \
138 ((compile_options & PCRE2_UCP) != 0)? ",ucp" : "", in LLVMFuzzerTestOneInput()
Dpcre2_dfa_match.c551 BOOL utf_or_ucp = utf || (mb->poptions & PCRE2_UCP) != 0; in internal_dfa_match()
1115 if ((mb->poptions & PCRE2_UCP) != 0) in internal_dfa_match()
1140 if ((mb->poptions & PCRE2_UCP) != 0) in internal_dfa_match()
3591 if (first_cu > 127 && !utf && (re->overall_options & PCRE2_UCP) != 0) in pcre2_dfa_match()
3594 if (first_cu > 127 && (utf || (re->overall_options & PCRE2_UCP) != 0)) in pcre2_dfa_match()
3615 if (req_cu > 127 && !utf && (re->overall_options & PCRE2_UCP) != 0) in pcre2_dfa_match()
3618 if (req_cu > 127 && (utf || (re->overall_options & PCRE2_UCP) != 0)) in pcre2_dfa_match()
Dpcre2_compile.c779 PCRE2_NO_DOTSTAR_ANCHOR|PCRE2_UCP|PCRE2_UNGREEDY)
834 { (uint8_t *)STRING_UCP_RIGHTPAR, 4, PSO_OPT, PCRE2_UCP },
3119 if ((options & PCRE2_UCP) == 0) in parse_regex()
3344 if ((options & PCRE2_UCP) == 0) in parse_regex()
3516 if ((options & PCRE2_UCP) != 0) in parse_regex()
3666 if ((options & PCRE2_UCP) == 0) in parse_regex()
5014 if ((options & (PCRE2_UTF|PCRE2_UCP)) != 0) in add_to_class_internal()
5429 BOOL ucp = (options & PCRE2_UCP) != 0; in compile_branch()
5798 if ((options & PCRE2_UCP) != 0) switch(posix_class) in compile_branch()
6144 (options & PCRE2_UCP) != 0 || in compile_branch()
[all …]
Dpcre2_jit_test.c127 #define MUP (PCRE2_MULTILINE | PCRE2_UTF | PCRE2_UCP)
129 #define CMUP (PCRE2_CASELESS | PCRE2_MULTILINE | PCRE2_UTF | PCRE2_UCP)
131 #define MP (PCRE2_MULTILINE | PCRE2_UCP)
414 { PCRE2_UCP, 0, 0, 0 | F_PROPERTY, "[a-b\\s]{2,5}[^a]", "AB baaa" },
574 { PCRE2_UCP, 0, 0, 0 | F_PROPERTY, "(\\P{N})\\1{2,}", ".www." },
1982 { PCRE2_UTF | PCRE2_UCP, CI, 0, 0, 0, -1, -1, { "[\\s]", NULL }, "\xed\xa0\x80" },
Dpcre2posix.c312 if ((cflags & REG_UCP) != 0) options |= PCRE2_UCP; in pcre2_regcomp()
Dpcre2_substitute.c239 BOOL ucp = (code->overall_options & PCRE2_UCP) != 0; in pcre2_substitute()
Dpcre2_auto_possess.c1140 BOOL ucp = (cb->external_options & PCRE2_UCP) != 0; in PRIV()
Dpcre2_match.c387 if (utf || (mb->poptions & PCRE2_UCP) != 0) in match_ref()
620 BOOL ucp = (mb->poptions & PCRE2_UCP) != 0; in match()
6048 if ((mb->poptions & PCRE2_UCP) != 0) in match()
6082 if ((mb->poptions & PCRE2_UCP) != 0) in match()
6428 ucp = (re->overall_options & PCRE2_UCP) != 0; in pcre2_match()
Dpcre2_study.c1677 BOOL ucp = (re->overall_options & PCRE2_UCP) != 0; in PRIV()
Dpcre2.h.in136 #define PCRE2_UCP 0x00020000u /* C J M D */ macro
Dpcre2.h.generic136 #define PCRE2_UCP 0x00020000u /* C J M D */
Dpcre2test.c749 { "ucp", MOD_PATP, MOD_OPT, PCRE2_UCP, PO(options) },
763 PCRE2_CASELESS|PCRE2_DOTALL|PCRE2_LITERAL|PCRE2_MULTILINE|PCRE2_UCP| \
4214 ((options & PCRE2_UCP) != 0)? " ucp" : "", in show_compile_options()
5532 if ((pat_patctl.options & PCRE2_UCP) != 0) cflags |= REG_UCP; in process_pattern()
Dpcre2_jit_compile.c13782 common->ucp = (re->overall_options & PCRE2_UCP) != 0; in jit_compile()
/third_party/pcre2/pcre2/doc/
Dpcre2.txt1499 PCRE2_UTF or PCRE2_UCP is set, Unicode properties are used for all
1505 a lookup table is used for speed. When neither PCRE2_UTF nor PCRE2_UCP
1694 described for the PCRE2_UCP option below. In particular, it prevents
1831 PCRE2_UCP
1836 PCRE2_UCP is set, Unicode properties are used instead to classify char-
1838 types in the pcre2pattern page. If you set PCRE2_UCP, matching one of
1841 The second effect of PCRE2_UCP is to force the use of Unicode proper-
2017 the PCRE2_UCP option can be set when a pattern is compiled; this causes
2019 tables. PCRE2_UCP also causes upper/lower casing operations on charac-
3470 ters within \Q...\E quoted sequences. If either PCRE2_UTF or PCRE2_UCP
[all …]
Dpcre2test.txt297 and PCRE2_UCP options and the use of (*UTF) and (*UCP) at the start of
592 ucp set PCRE2_UCP
/third_party/pcre2/pcre2/
DNEWS95 3. When Unicode is supported and PCRE2_UCP is set without PCRE2_UTF, Unicode
DChangeLog455 PCRE2_UCP is set without PCRE2_UTF, Unicode character properties are used for
1432 PCRE2_UCP set, a negative character type such as \D in a positive class should
1691 pattern with PCRE2_UCP set without PCRE2_UTF if a class required all wide
2282 property was also in the class (if PCRE2_UCP is set, escapes such as \w are
DREADME200 do so by setting the PCRE2_UCP option or starting a pattern with (*UCP).
/third_party/pcre2/pcre2/maint/
DREADME387 which is the PCRE2 default for PCRE2_UTF (use PCRE2_UCP to change). However,
/third_party/pcre2/pcre2/doc/html/
DREADME.txt200 do so by setting the PCRE2_UCP option or starting a pattern with (*UCP).