regex            2091 modules/ts/include/opencv2/ts/ts_gtest.h   RE(const ::std::string& regex) { Init(regex.c_str()); }  // NOLINT
regex            2095 modules/ts/include/opencv2/ts/ts_gtest.h   RE(const ::string& regex) { Init(regex.c_str()); }  // NOLINT
regex            2099 modules/ts/include/opencv2/ts/ts_gtest.h   RE(const char* regex) { Init(regex); }  // NOLINT
regex            2134 modules/ts/include/opencv2/ts/ts_gtest.h   void Init(const char* regex);
regex            8297 modules/ts/include/opencv2/ts/ts_gtest.h   static bool Create(const char* statement, const RE* regex,
regex            8361 modules/ts/include/opencv2/ts/ts_gtest.h   virtual bool Create(const char* statement, const RE* regex,
regex            8368 modules/ts/include/opencv2/ts/ts_gtest.h   virtual bool Create(const char* statement, const RE* regex,
regex            8403 modules/ts/include/opencv2/ts/ts_gtest.h # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \
regex            8406 modules/ts/include/opencv2/ts/ts_gtest.h     const ::testing::internal::RE& gtest_regex = (regex); \
regex            8442 modules/ts/include/opencv2/ts/ts_gtest.h # define GTEST_EXECUTE_STATEMENT_(statement, regex) \
regex            8519 modules/ts/include/opencv2/ts/ts_gtest.h # define GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, terminator) \
regex            8526 modules/ts/include/opencv2/ts/ts_gtest.h       ::testing::internal::RE::PartialMatch(".*", (regex)); \
regex            8664 modules/ts/include/opencv2/ts/ts_gtest.h # define ASSERT_EXIT(statement, predicate, regex) \
regex            8665 modules/ts/include/opencv2/ts/ts_gtest.h     GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
regex            8669 modules/ts/include/opencv2/ts/ts_gtest.h # define EXPECT_EXIT(statement, predicate, regex) \
regex            8670 modules/ts/include/opencv2/ts/ts_gtest.h     GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
regex            8675 modules/ts/include/opencv2/ts/ts_gtest.h # define ASSERT_DEATH(statement, regex) \
regex            8676 modules/ts/include/opencv2/ts/ts_gtest.h     ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
regex            8680 modules/ts/include/opencv2/ts/ts_gtest.h # define EXPECT_DEATH(statement, regex) \
regex            8681 modules/ts/include/opencv2/ts/ts_gtest.h     EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
regex            8754 modules/ts/include/opencv2/ts/ts_gtest.h #  define EXPECT_DEBUG_DEATH(statement, regex) \
regex            8755 modules/ts/include/opencv2/ts/ts_gtest.h   GTEST_EXECUTE_STATEMENT_(statement, regex)
regex            8757 modules/ts/include/opencv2/ts/ts_gtest.h #  define ASSERT_DEBUG_DEATH(statement, regex) \
regex            8758 modules/ts/include/opencv2/ts/ts_gtest.h   GTEST_EXECUTE_STATEMENT_(statement, regex)
regex            8762 modules/ts/include/opencv2/ts/ts_gtest.h #  define EXPECT_DEBUG_DEATH(statement, regex) \
regex            8763 modules/ts/include/opencv2/ts/ts_gtest.h   EXPECT_DEATH(statement, regex)
regex            8765 modules/ts/include/opencv2/ts/ts_gtest.h #  define ASSERT_DEBUG_DEATH(statement, regex) \
regex            8766 modules/ts/include/opencv2/ts/ts_gtest.h   ASSERT_DEATH(statement, regex)
regex            8777 modules/ts/include/opencv2/ts/ts_gtest.h # define EXPECT_DEATH_IF_SUPPORTED(statement, regex) \
regex            8778 modules/ts/include/opencv2/ts/ts_gtest.h     EXPECT_DEATH(statement, regex)
regex            8779 modules/ts/include/opencv2/ts/ts_gtest.h # define ASSERT_DEATH_IF_SUPPORTED(statement, regex) \
regex            8780 modules/ts/include/opencv2/ts/ts_gtest.h     ASSERT_DEATH(statement, regex)
regex            8782 modules/ts/include/opencv2/ts/ts_gtest.h # define EXPECT_DEATH_IF_SUPPORTED(statement, regex) \
regex            8783 modules/ts/include/opencv2/ts/ts_gtest.h     GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, )
regex            8784 modules/ts/include/opencv2/ts/ts_gtest.h # define ASSERT_DEATH_IF_SUPPORTED(statement, regex) \
regex            8785 modules/ts/include/opencv2/ts/ts_gtest.h     GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, return)
regex            1362 modules/ts/src/ts_gtest.cpp GTEST_API_ std::string FormatRegexSyntaxError(const char* regex, int index);
regex            1363 modules/ts/src/ts_gtest.cpp GTEST_API_ bool ValidateRegex(const char* regex);
regex            1364 modules/ts/src/ts_gtest.cpp GTEST_API_ bool MatchRegexAtHead(const char* regex, const char* str);
regex            1366 modules/ts/src/ts_gtest.cpp     bool escaped, char ch, char repeat, const char* regex, const char* str);
regex            1367 modules/ts/src/ts_gtest.cpp GTEST_API_ bool MatchRegexAnywhere(const char* regex, const char* str);
regex            6878 modules/ts/src/ts_gtest.cpp bool DeathTest::Create(const char* statement, const RE* regex,
regex            6881 modules/ts/src/ts_gtest.cpp       statement, regex, file, line, test);
regex            7088 modules/ts/src/ts_gtest.cpp         const bool matched = RE::PartialMatch(error_message.c_str(), *regex());
regex            7093 modules/ts/src/ts_gtest.cpp                  << "  Expected: " << regex()->pattern() << "\n"
regex            7311 modules/ts/src/ts_gtest.cpp   ForkingDeathTest(const char* statement, const RE* regex);
regex            7688 modules/ts/src/ts_gtest.cpp bool DefaultDeathTestFactory::Create(const char* statement, const RE* regex,
regex            7717 modules/ts/src/ts_gtest.cpp     *test = new WindowsDeathTest(statement, regex, file, line);
regex            7723 modules/ts/src/ts_gtest.cpp     *test = new ExecDeathTest(statement, regex, file, line);
regex            7725 modules/ts/src/ts_gtest.cpp     *test = new NoExecDeathTest(statement, regex);
regex            8421 modules/ts/src/ts_gtest.cpp void RE::Init(const char* regex) {
regex            8422 modules/ts/src/ts_gtest.cpp   pattern_ = posix::StrDup(regex);
regex            8426 modules/ts/src/ts_gtest.cpp   const size_t full_regex_len = strlen(regex) + 10;
regex            8429 modules/ts/src/ts_gtest.cpp   snprintf(full_pattern, full_regex_len, "^(%s)$", regex);
regex            8440 modules/ts/src/ts_gtest.cpp     const char* const partial_regex = (*regex == '\0') ? "()" : regex;
regex            8444 modules/ts/src/ts_gtest.cpp       << "Regular expression \"" << regex
regex            8501 modules/ts/src/ts_gtest.cpp std::string FormatRegexSyntaxError(const char* regex, int index) {
regex            8503 modules/ts/src/ts_gtest.cpp           << " in simple regular expression \"" << regex << "\": ").GetString();
regex            8508 modules/ts/src/ts_gtest.cpp bool ValidateRegex(const char* regex) {
regex            8509 modules/ts/src/ts_gtest.cpp   if (regex == NULL) {
regex            8521 modules/ts/src/ts_gtest.cpp   for (int i = 0; regex[i]; i++) {
regex            8522 modules/ts/src/ts_gtest.cpp     if (regex[i] == '\\') {  // An escape sequence
regex            8524 modules/ts/src/ts_gtest.cpp       if (regex[i] == '\0') {
regex            8525 modules/ts/src/ts_gtest.cpp         ADD_FAILURE() << FormatRegexSyntaxError(regex, i - 1)
regex            8530 modules/ts/src/ts_gtest.cpp       if (!IsValidEscape(regex[i])) {
regex            8531 modules/ts/src/ts_gtest.cpp         ADD_FAILURE() << FormatRegexSyntaxError(regex, i - 1)
regex            8532 modules/ts/src/ts_gtest.cpp                       << "invalid escape sequence \"\\" << regex[i] << "\".";
regex            8537 modules/ts/src/ts_gtest.cpp       const char ch = regex[i];
regex            8540 modules/ts/src/ts_gtest.cpp         ADD_FAILURE() << FormatRegexSyntaxError(regex, i)
regex            8543 modules/ts/src/ts_gtest.cpp       } else if (ch == '$' && regex[i + 1] != '\0') {
regex            8544 modules/ts/src/ts_gtest.cpp         ADD_FAILURE() << FormatRegexSyntaxError(regex, i)
regex            8548 modules/ts/src/ts_gtest.cpp         ADD_FAILURE() << FormatRegexSyntaxError(regex, i)
regex            8552 modules/ts/src/ts_gtest.cpp         ADD_FAILURE() << FormatRegexSyntaxError(regex, i)
regex            8572 modules/ts/src/ts_gtest.cpp     bool escaped, char c, char repeat, const char* regex,
regex            8582 modules/ts/src/ts_gtest.cpp     if (i >= min_count && MatchRegexAtHead(regex, str + i)) {
regex            8598 modules/ts/src/ts_gtest.cpp bool MatchRegexAtHead(const char* regex, const char* str) {
regex            8599 modules/ts/src/ts_gtest.cpp   if (*regex == '\0')  // An empty regex matches a prefix of anything.
regex            8604 modules/ts/src/ts_gtest.cpp   if (*regex == '$')
regex            8608 modules/ts/src/ts_gtest.cpp   const bool escaped = *regex == '\\';
regex            8610 modules/ts/src/ts_gtest.cpp     ++regex;
regex            8611 modules/ts/src/ts_gtest.cpp   if (IsRepeat(regex[1])) {
regex            8616 modules/ts/src/ts_gtest.cpp         escaped, regex[0], regex[1], regex + 2, str);
regex            8621 modules/ts/src/ts_gtest.cpp     return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) &&
regex            8622 modules/ts/src/ts_gtest.cpp         MatchRegexAtHead(regex + 1, str + 1);
regex            8634 modules/ts/src/ts_gtest.cpp bool MatchRegexAnywhere(const char* regex, const char* str) {
regex            8635 modules/ts/src/ts_gtest.cpp   if (regex == NULL || str == NULL)
regex            8638 modules/ts/src/ts_gtest.cpp   if (*regex == '^')
regex            8639 modules/ts/src/ts_gtest.cpp     return MatchRegexAtHead(regex + 1, str);
regex            8643 modules/ts/src/ts_gtest.cpp     if (MatchRegexAtHead(regex, str))
regex            8668 modules/ts/src/ts_gtest.cpp void RE::Init(const char* regex) {
regex            8670 modules/ts/src/ts_gtest.cpp   if (regex != NULL) {
regex            8671 modules/ts/src/ts_gtest.cpp     pattern_ = posix::StrDup(regex);
regex            8674 modules/ts/src/ts_gtest.cpp   is_valid_ = ValidateRegex(regex);
regex            8680 modules/ts/src/ts_gtest.cpp   const size_t len = strlen(regex);
regex            8687 modules/ts/src/ts_gtest.cpp   if (*regex != '^')
regex            8692 modules/ts/src/ts_gtest.cpp   memcpy(buffer, regex, len);
regex            8695 modules/ts/src/ts_gtest.cpp   if (len == 0 || regex[len - 1] != '$')
regex               9 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java import java.util.regex.Pattern;
regex              10 platforms/android/service/engine/src/org/opencv/engine/HardwareDetector.java import java.util.regex.Matcher;