/prebuilts/gdb/darwin-x86/lib/python2.7/ |
H A D | sre.py | 2 It will be removed in the future. sre was moved to re in version 2.5. 6 warnings.warn("The sre module is deprecated, please import re.", namespace 9 from re import * 10 from re import __all__ 13 from re import _compile
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
H A D | sre.py | 2 It will be removed in the future. sre was moved to re in version 2.5. 6 warnings.warn("The sre module is deprecated, please import re.", namespace 9 from re import * 10 from re import __all__ 13 from re import _compile
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
H A D | sre.py | 2 It will be removed in the future. sre was moved to re in version 2.5. 6 warnings.warn("The sre module is deprecated, please import re.", namespace 9 from re import * 10 from re import __all__ 13 from re import _compile
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
H A D | sre.py | 2 It will be removed in the future. sre was moved to re in version 2.5. 6 warnings.warn("The sre module is deprecated, please import re.", namespace 9 from re import * 10 from re import __all__ 13 from re import _compile
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/re/re.const/re.matchflag/ |
H A D | match_not_bol.pass.cpp | 26 std::regex re("^foo"); 27 assert( std::regex_match(target, re)); 28 assert(!std::regex_match(target, re, std::regex_constants::match_not_bol)); 33 std::regex re("foo"); 34 assert( std::regex_match(target, re)); 35 assert( std::regex_match(target, re, std::regex_constants::match_not_bol)); 40 std::regex re("^foo"); 41 assert( std::regex_search(target, re)); 42 assert(!std::regex_search(target, re, std::regex_constants::match_not_bol)); 47 std::regex re("fo [all...] |
H A D | match_not_eol.pass.cpp | 26 std::regex re("foo$"); 27 assert( std::regex_match(target, re)); 28 assert(!std::regex_match(target, re, std::regex_constants::match_not_eol)); 33 std::regex re("foo"); 34 assert( std::regex_match(target, re)); 35 assert( std::regex_match(target, re, std::regex_constants::match_not_eol)); 40 std::regex re("foo$"); 41 assert( std::regex_search(target, re)); 42 assert(!std::regex_search(target, re, std::regex_constants::match_not_eol)); 47 std::regex re("fo [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.const/re.matchflag/ |
H A D | match_not_bol.pass.cpp | 26 std::regex re("^foo"); 27 assert( std::regex_match(target, re)); 28 assert(!std::regex_match(target, re, std::regex_constants::match_not_bol)); 33 std::regex re("foo"); 34 assert( std::regex_match(target, re)); 35 assert( std::regex_match(target, re, std::regex_constants::match_not_bol)); 40 std::regex re("^foo"); 41 assert( std::regex_search(target, re)); 42 assert(!std::regex_search(target, re, std::regex_constants::match_not_bol)); 47 std::regex re("fo [all...] |
H A D | match_not_eol.pass.cpp | 26 std::regex re("foo$"); 27 assert( std::regex_match(target, re)); 28 assert(!std::regex_match(target, re, std::regex_constants::match_not_eol)); 33 std::regex re("foo"); 34 assert( std::regex_match(target, re)); 35 assert( std::regex_match(target, re, std::regex_constants::match_not_eol)); 40 std::regex re("foo$"); 41 assert( std::regex_search(target, re)); 42 assert(!std::regex_search(target, re, std::regex_constants::match_not_eol)); 47 std::regex re("fo [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
H A D | test_re.py | 3 import re namespace 4 from re import Scanner 12 # Misc tests from Tim Peters' re.doc 15 # what you're doing. Some of these tests were carefully modeled to 24 x = re.compile('ab+c') 29 self.assertEqual(re.search('x*', 'axx').span(0), (0, 0)) 30 self.assertEqual(re.search('x*', 'axx').span(), (0, 0)) 31 self.assertEqual(re.search('x+', 'axx').span(0), (1, 3)) 32 self.assertEqual(re.search('x+', 'axx').span(), (1, 3)) 33 self.assertEqual(re [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
H A D | test_re.py | 3 import re namespace 4 from re import Scanner 12 # Misc tests from Tim Peters' re.doc 15 # what you're doing. Some of these tests were carefully modeled to 24 x = re.compile('ab+c') 29 self.assertEqual(re.search('x*', 'axx').span(0), (0, 0)) 30 self.assertEqual(re.search('x*', 'axx').span(), (0, 0)) 31 self.assertEqual(re.search('x+', 'axx').span(0), (1, 3)) 32 self.assertEqual(re.search('x+', 'axx').span(), (1, 3)) 33 self.assertEqual(re [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
H A D | test_re.py | 3 import re namespace 4 from re import Scanner 12 # Misc tests from Tim Peters' re.doc 15 # what you're doing. Some of these tests were carefully modeled to 24 x = re.compile('ab+c') 29 self.assertEqual(re.search('x*', 'axx').span(0), (0, 0)) 30 self.assertEqual(re.search('x*', 'axx').span(), (0, 0)) 31 self.assertEqual(re.search('x+', 'axx').span(0), (1, 3)) 32 self.assertEqual(re.search('x+', 'axx').span(), (1, 3)) 33 self.assertEqual(re [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
H A D | test_re.py | 3 import re namespace 4 from re import Scanner 12 # Misc tests from Tim Peters' re.doc 15 # what you're doing. Some of these tests were carefully modeled to 24 x = re.compile('ab+c') 29 self.assertEqual(re.search('x*', 'axx').span(0), (0, 0)) 30 self.assertEqual(re.search('x*', 'axx').span(), (0, 0)) 31 self.assertEqual(re.search('x+', 'axx').span(0), (1, 3)) 32 self.assertEqual(re.search('x+', 'axx').span(), (1, 3)) 33 self.assertEqual(re [all...] |
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/utils/google-benchmark/cmake/ |
H A D | posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; 11 regfree(&re);
|
H A D | gnu_posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
|
H A D | std_regex.cpp | 5 std::regex re; local 6 re = std::regex("^[a-z]+[0-9]+$", 8 return std::regex_search(str, re) ? 0 : -1;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/cmake/ |
H A D | posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; 11 regfree(&re);
|
H A D | gnu_posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
|
H A D | std_regex.cpp | 5 std::regex re; local 6 re = std::regex("^[a-z]+[0-9]+$", 8 return std::regex_search(str, re) ? 0 : -1;
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/re/re.alg/re.alg.match/ |
H A D | basic.fail.cpp | 33 std::regex re{"*"}; 34 std::regex_match(std::string("abcde"), m, re);
|
H A D | lookahead_capture.pass.cpp | 31 std::regex re("^(?=(.))a$"); 32 assert(re.mark_count() == 1); 36 assert(std::regex_match(s, m, re)); 43 std::regex re("^(a)(?=(.))(b)$"); 44 assert(re.mark_count() == 3); 48 assert(std::regex_match(s, m, re)); 57 std::regex re("^(.)(?=(.)(?=.(.)))(...)$"); 58 assert(re.mark_count() == 4); 62 assert(std::regex_match(s, m, re)); 72 std::regex re(" [all...] |
H A D | parse_curly_brackets.pass.cpp | 29 std::string re("\\{a\\}"); 31 std::regex regex(re); 39 std::string re("\\{a\\}"); 41 std::regex regex(re, std::regex::extended); 49 std::string re("\\{a\\}"); 51 std::regex regex(re, std::regex::awk); 59 std::string re("\\{a\\}"); 61 std::regex regex(re, std::regex::egrep);
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/re/re.alg/re.alg.search/ |
H A D | basic.fail.cpp | 33 std::regex re{"*"}; 34 std::regex_search(std::string("abcde"), m, re);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.alg/re.alg.match/ |
H A D | basic.fail.cpp | 33 std::regex re{"*"}; 34 std::regex_match(std::string("abcde"), m, re);
|
H A D | lookahead_capture.pass.cpp | 31 std::regex re("^(?=(.))a$"); 32 assert(re.mark_count() == 1); 36 assert(std::regex_match(s, m, re)); 43 std::regex re("^(a)(?=(.))(b)$"); 44 assert(re.mark_count() == 3); 48 assert(std::regex_match(s, m, re)); 57 std::regex re("^(.)(?=(.)(?=.(.)))(...)$"); 58 assert(re.mark_count() == 4); 62 assert(std::regex_match(s, m, re)); 72 std::regex re(" [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.alg/re.alg.search/ |
H A D | basic.fail.cpp | 33 std::regex re{"*"}; 34 std::regex_search(std::string("abcde"), m, re);
|