Home
last modified time | relevance | path

Searched refs:test_match (Results 1 – 9 of 9) sorted by relevance

/third_party/jerryscript/tests/jerry/
Dregexp-web-compatibility.js15 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/
Dperformance.cpp113 void test_match(const char* expression, const char* text, bool isperl = false) in test_match() function
166 test_match("abc", "abc"); in cpp_main()
168test_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()
171test_match("^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+… in cpp_main()
172test_match("^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+… in cpp_main()
173test_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/
Dmain.cpp19 void test_match(const std::string& re, const std::string& text, const std::string& description) in test_match() function
143test_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()
146test_match("^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+… in main()
147test_match("^([a-zA-Z0-9_\\-\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([a-zA-Z0-9\\-]+… in main()
148test_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 …]
Dregex_comparison.hpp129 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/
Dpattern.c152 test_match (gconstpointer d) in test_match() function
228 g_test_add_data_func (path, &match_tests[i], test_match); in main()
Dregex.c186 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/
DFontMgrTest.cpp113 static void test_match(skiatest::Reporter* reporter) { in test_match() function
735 test_match(reporter); in DEF_TEST()
/third_party/python/Lib/test/
Dtest_regrtest.py177 def test_match(self): member in ParseArgsTestCase
Dtest_pathlib.py733 def test_match(self): member in PurePosixPathTest