Lines Matching refs:regex
108 // On POSIX-compliant systems (*nix), we use the <regex.h> library,
109 // which uses the POSIX extended regex syntax.
111 // On other platforms (e.g. Windows or Mac), we only support a simple regex
115 // or POSIX extended regex syntax. For example, we don't support
120 // subset of both PCRE and POSIX extended regex, so it's easy to
147 // If you accidentally use PCRE or POSIX extended regex features
153 // as a compiled regex library, but should perform well enough for a
264 #define EXPECT_DEBUG_DEATH(statement, regex) \
265 GTEST_EXECUTE_STATEMENT_(statement, regex)
267 #define ASSERT_DEBUG_DEATH(statement, regex) \
268 GTEST_EXECUTE_STATEMENT_(statement, regex)
272 #define EXPECT_DEBUG_DEATH(statement, regex) EXPECT_DEATH(statement, regex)
274 #define ASSERT_DEBUG_DEATH(statement, regex) ASSERT_DEATH(statement, regex)
296 // regex - A regex that a macro such as EXPECT_DEATH would use to test
308 // statement and regex are compiled (and thus syntactically correct) but
314 #define GTEST_UNSUPPORTED_DEATH_TEST(statement, regex, terminator) \
320 ::testing::internal::RE::PartialMatch(".*", (regex)); \
326 // EXPECT_DEATH_IF_SUPPORTED(statement, regex) and
327 // ASSERT_DEATH_IF_SUPPORTED(statement, regex) expand to real death tests if
332 #define EXPECT_DEATH_IF_SUPPORTED(statement, regex) \
333 EXPECT_DEATH(statement, regex)
334 #define ASSERT_DEATH_IF_SUPPORTED(statement, regex) \
335 ASSERT_DEATH(statement, regex)
337 #define EXPECT_DEATH_IF_SUPPORTED(statement, regex) \
338 GTEST_UNSUPPORTED_DEATH_TEST(statement, regex, )
339 #define ASSERT_DEATH_IF_SUPPORTED(statement, regex) \
340 GTEST_UNSUPPORTED_DEATH_TEST(statement, regex, return)