Home
last modified time | relevance | path

Searched refs:compiled_regex (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/libchrome/components/json_schema/
H A Djson_schema_validator.cc791 re2::RE2 compiled_regex(pattern); in ValidateString() local
792 if (!compiled_regex.ok()) { in ValidateString()
794 << "/ is invalid: " << compiled_regex.error() << "."; in ValidateString()
797 FormatErrorMessage(kInvalidRegex, pattern, compiled_regex.error()))); in ValidateString()
798 } else if (!re2::RE2::PartialMatch(value, compiled_regex)) { in ValidateString()
/aosp_15_r20/external/cronet/testing/scripts/rust/
H A Dtest_filtering.py136 compiled_regex = re.compile(regex, re.VERBOSE)
140 filter_text = compiled_regex.sub('', filter_text)
/aosp_15_r20/external/libchrome/components/policy/core/common/
H A Dschema.cc598 re2::RE2* compiled_regex = CompileRegex(it.key()); in ParseDictionary() local
599 if (!compiled_regex->ok()) { in ParseDictionary()
601 "/" + it.key() + "/ is a invalid regex: " + compiled_regex->error(); in ParseDictionary()
730 re2::RE2* compiled_regex = CompileRegex(pattern); in ParseStringPattern() local
731 if (!compiled_regex->ok()) { in ParseStringPattern()
732 *error = "/" + pattern + "/ is invalid regex: " + compiled_regex->error(); in ParseStringPattern()
/aosp_15_r20/external/libtextclassifier/native/annotator/datetime/
H A Dextractor.h34 std::unique_ptr<const UniLib::RegexPattern> compiled_regex; member
H A Dregex-parser.cc285 rule.compiled_regex->Matcher(input); in ParseWithRule()
/aosp_15_r20/external/pigweed/pw_console/py/pw_console/
H A Dlog_view.py317 compiled_regex = re.compile(regex_text, regex_flags)
319 regex=compiled_regex,