Home | History | Annotate | Download | only in clinic

Lines Matching refs:pattern

66 "match($self, /, string=None, pos=0, endpos=sys.maxsize, *, pattern=None)\n"
77 PyObject *pattern);
83 static const char * const _keywords[] = {"string", "pos", "endpos", "pattern", NULL};
88 PyObject *pattern = NULL;
91 &string, &pos, &endpos, &pattern)) {
94 return_value = _sre_SRE_Pattern_match_impl(self, string, pos, endpos, pattern);
102 " pattern=None)\n"
113 PyObject *pattern);
119 static const char * const _keywords[] = {"string", "pos", "endpos", "pattern", NULL};
124 PyObject *pattern = NULL;
127 &string, &pos, &endpos, &pattern)) {
130 return_value = _sre_SRE_Pattern_fullmatch_impl(self, string, pos, endpos, pattern);
138 " pattern=None)\n"
151 PyObject *pattern);
157 static const char * const _keywords[] = {"string", "pos", "endpos", "pattern", NULL};
162 PyObject *pattern = NULL;
165 &string, &pos, &endpos, &pattern)) {
168 return_value = _sre_SRE_Pattern_search_impl(self, string, pos, endpos, pattern);
179 "Return a list of all non-overlapping matches of pattern in string.");
214 "Return an iterator over all non-overlapping matches for the RE pattern in string.\n"
281 "Split string by the occurrences of pattern.");
314 "Return the string obtained by replacing the leftmost non-overlapping occurrences of pattern in string by the replacement repl.");
347 "Return the tuple (new_string, number_of_subs_made) found by replacing the leftmost non-overlapping occurrences of pattern with the replacement repl.");
423 "compile($module, /, pattern, flags, code, groups, groupindex,\n"
432 _sre_compile_impl(PyObject *module, PyObject *pattern, int flags,
440 static const char * const _keywords[] = {"pattern", "flags", "code", "groups", "groupindex", "indexgroup", NULL};
442 PyObject *pattern;
450 &pattern, &flags, &PyList_Type, &code, &groups, &groupindex, &indexgroup)) {
453 return_value = _sre_compile_impl(module, pattern, flags, code, groups, groupindex, indexgroup);