Home
last modified time | relevance | path

Searched refs:pattern_string (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_strptime.py119 pattern_string = self.time_re.pattern(r"%a %A %d")
120 self.assertTrue(pattern_string.find(self.locale_time.a_weekday[2]) != -1,
122 pattern_string)
123 self.assertTrue(pattern_string.find(self.locale_time.f_weekday[4]) != -1,
125 pattern_string)
126 self.assertTrue(pattern_string.find(self.time_re['d']) != -1,
128 pattern_string)
133 pattern_string = self.time_re.pattern("\d+")
134 self.assertIn(r"\\d\+", pattern_string,
136 pattern_string)
/external/python/cpython3/Lib/test/
Dtest_strptime.py119 pattern_string = self.time_re.pattern(r"%a %A %d")
120 self.assertTrue(pattern_string.find(self.locale_time.a_weekday[2]) != -1,
122 pattern_string)
123 self.assertTrue(pattern_string.find(self.locale_time.f_weekday[4]) != -1,
125 pattern_string)
126 self.assertTrue(pattern_string.find(self.time_re['d']) != -1,
128 pattern_string)
133 pattern_string = self.time_re.pattern(r"\d+")
134 self.assertIn(r"\\d\+", pattern_string,
136 pattern_string)
/external/selinux/libselinux/src/
Dregex.c71 int regex_prepare_data(struct regex_data **regex, char const *pattern_string, in regex_prepare_data() argument
81 (PCRE2_SPTR)pattern_string, PCRE2_ZERO_TERMINATED, PCRE2_DOTALL, in regex_prepare_data()
287 int regex_prepare_data(struct regex_data **regex, char const *pattern_string, in regex_prepare_data() argument
297 pcre_compile(pattern_string, PCRE_DOTALL, &errordata->error_buffer, in regex_prepare_data()
Dregex.h90 int regex_prepare_data(struct regex_data **regex, char const *pattern_string,
/external/icu/icu4c/source/samples/strsrch/
Dreadme.txt30 strsrch [options*] -source source_string -pattern pattern_string