Lines Matching refs:RE
416 const RE empty(TypeParam("")); in TYPED_TEST()
419 const RE simple(TypeParam("hello")); in TYPED_TEST()
422 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
429 const RE invalid(TypeParam("?")); in TYPED_TEST()
435 const RE empty(TypeParam("")); in TYPED_TEST()
436 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
437 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
439 const RE re(TypeParam("a.*z")); in TYPED_TEST()
440 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
441 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
442 EXPECT_FALSE(RE::FullMatch(TypeParam("baz"), re)); in TYPED_TEST()
443 EXPECT_FALSE(RE::FullMatch(TypeParam("azy"), re)); in TYPED_TEST()
448 const RE empty(TypeParam("")); in TYPED_TEST()
449 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty)); in TYPED_TEST()
450 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty)); in TYPED_TEST()
452 const RE re(TypeParam("a.*z")); in TYPED_TEST()
453 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re)); in TYPED_TEST()
454 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re)); in TYPED_TEST()
455 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re)); in TYPED_TEST()
456 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re)); in TYPED_TEST()
457 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re)); in TYPED_TEST()
874 const RE empty(""); in TEST()
877 const RE simple("hello"); in TEST()
884 const RE normal(NULL); in TEST()
888 const RE normal(".*(\\w+"); in TEST()
892 const RE invalid("^?"); in TEST()
898 const RE empty(""); in TEST()
899 EXPECT_TRUE(RE::FullMatch("", empty)); in TEST()
900 EXPECT_FALSE(RE::FullMatch("a", empty)); in TEST()
902 const RE re1("a"); in TEST()
903 EXPECT_TRUE(RE::FullMatch("a", re1)); in TEST()
905 const RE re("a.*z"); in TEST()
906 EXPECT_TRUE(RE::FullMatch("az", re)); in TEST()
907 EXPECT_TRUE(RE::FullMatch("axyz", re)); in TEST()
908 EXPECT_FALSE(RE::FullMatch("baz", re)); in TEST()
909 EXPECT_FALSE(RE::FullMatch("azy", re)); in TEST()
914 const RE empty(""); in TEST()
915 EXPECT_TRUE(RE::PartialMatch("", empty)); in TEST()
916 EXPECT_TRUE(RE::PartialMatch("a", empty)); in TEST()
918 const RE re("a.*z"); in TEST()
919 EXPECT_TRUE(RE::PartialMatch("az", re)); in TEST()
920 EXPECT_TRUE(RE::PartialMatch("axyz", re)); in TEST()
921 EXPECT_TRUE(RE::PartialMatch("baz", re)); in TEST()
922 EXPECT_TRUE(RE::PartialMatch("azy", re)); in TEST()
923 EXPECT_FALSE(RE::PartialMatch("zza", re)); in TEST()