reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
98 static bool isLiteralERE(StringRef Str);
36 if (Regex::isLiteralERE(Regexp)) {
unittests/Support/RegexTest.cpp115 EXPECT_TRUE(Regex::isLiteralERE("abc")); 116 EXPECT_FALSE(Regex::isLiteralERE("a(bc)")); 117 EXPECT_FALSE(Regex::isLiteralERE("^abc")); 118 EXPECT_FALSE(Regex::isLiteralERE("abc$")); 119 EXPECT_FALSE(Regex::isLiteralERE("a|bc")); 120 EXPECT_FALSE(Regex::isLiteralERE("abc*")); 121 EXPECT_FALSE(Regex::isLiteralERE("abc+")); 122 EXPECT_FALSE(Regex::isLiteralERE("abc?")); 123 EXPECT_FALSE(Regex::isLiteralERE("abc.")); 124 EXPECT_FALSE(Regex::isLiteralERE("a[bc]")); 125 EXPECT_FALSE(Regex::isLiteralERE("abc\\1")); 126 EXPECT_FALSE(Regex::isLiteralERE("abc{1,2}"));