Searched refs:compiled_regex (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/components/json_schema/
H A Djson_schema_validator.cc774 re2::RE2 compiled_regex(pattern);
775 if (!compiled_regex.ok()) {
777 << "/ is invalid: " << compiled_regex.error() << ".";
780 FormatErrorMessage(kInvalidRegex, pattern, compiled_regex.error())));
781 } else if (!re2::RE2::PartialMatch(value, compiled_regex)) {
/external/chromium_org/components/policy/core/common/
H A Dschema.cc560 re2::RE2* compiled_regex = CompileRegex(it.key()); local
561 if (!compiled_regex->ok()) {
563 "/" + it.key() + "/ is a invalid regex: " + compiled_regex->error();
680 re2::RE2* compiled_regex = CompileRegex(pattern); local
681 if (!compiled_regex->ok()) {
682 *error = "/" + pattern + "/ is invalid regex: " + compiled_regex->error();

Completed in 101 milliseconds