/third_party/jerryscript/tests/jerry/ |
D | regexp-web-compatibility.js | 15 function test_match(re, input, expected) function 34 test_match (new RegExp ("A{1,2}"), "B", null); 35 test_match (new RegExp ("A{1,2}"), "", null); 36 test_match (new RegExp ("A{1,2}"), "A", ["A"]); 37 test_match (new RegExp ("A{1,2}"), "AA", ["AA"]); 38 test_match (new RegExp ("A{1,2}"), "AAA", ["AA"]); 40 test_match (new RegExp ("A{1,}"), "B", null); 41 test_match (new RegExp ("A{1,}"), "GA", ["A"]); 42 test_match (new RegExp ("A{1,}"), "FAAAW", ["AAA"]); 43 test_match (new RegExp ("A{1,}"), "FAdAAW", ["A"]); [all …]
|
/third_party/boost/libs/regex/performance/ |
D | performance.cpp | 113 void test_match(const char* expression, const char* text, bool isperl = false) in test_match() function 166 test_match("abc", "abc"); in cpp_main() 168 …test_match("^([0-9]+)(\\-| |$)(.*)$", "100- this is a line of ftp response which contains a messag… in cpp_main() 169 test_match("([[:digit:]]{4}[- ]){3}[[:digit:]]{3,4}", "1234-5678-1234-456"); in cpp_main() 171 …test_match("^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+… in cpp_main() 172 …test_match("^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+… in cpp_main() 173 …test_match("^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+… in cpp_main() 174 test_match("^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$", "EH10 2QQ"); in cpp_main() 175 test_match("^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$", "G1 1AA"); in cpp_main() 176 test_match("^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$", "SW1 1ZZ"); in cpp_main() [all …]
|
/third_party/boost/libs/xpressive/perf/ |
D | main.cpp | 19 void test_match(const std::string& re, const std::string& text, const std::string& description) in test_match() function 143 …test_match("^([0-9]+)(\\-| |$)(.*)$", "100- this is a line of ftp response which contains a messag… in main() 144 test_match("([[:digit:]]{4}[- ]){3}[[:digit:]]{3,4}", "1234-5678-1234-456"); in main() 146 …test_match("^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+… in main() 147 …test_match("^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+… in main() 148 …test_match("^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+… in main() 149 test_match("^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$", "EH10 2QQ"); in main() 150 test_match("^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$", "G1 1AA"); in main() 151 test_match("^[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$", "SW1 1ZZ"); in main() 152 test_match("^[[:digit:]]{1,2}/[[:digit:]]{1,2}/[[:digit:]]{4}$", "4/1/2001"); in main() [all …]
|
D | regex_comparison.hpp | 129 void test_match(const std::string& re, const std::string& text, const std::string& description); 131 inline void test_match(const std::string& re, const std::string& text) in test_match() function 132 { test_match(re, text, text); } in test_match()
|
/third_party/glib/glib/tests/ |
D | pattern.c | 152 test_match (gconstpointer d) in test_match() function 228 g_test_add_data_func (path, &match_tests[i], test_match); in main()
|
D | regex.c | 186 test_match (gconstpointer d) in test_match() function 250 g_test_add_data_func_full (path, data, test_match, g_free); \
|
/third_party/flutter/skia/tests/ |
D | FontMgrTest.cpp | 113 static void test_match(skiatest::Reporter* reporter) { in test_match() function 735 test_match(reporter); in DEF_TEST()
|
/third_party/python/Lib/test/ |
D | test_regrtest.py | 177 def test_match(self): member in ParseArgsTestCase
|
D | test_pathlib.py | 733 def test_match(self): member in PurePosixPathTest
|