Lines Matching refs:group

17  * 2001-10-18 fl   fixed group reset issue (from Matthew Mueller)
539 "The span of capturing group is wrong,"
1888 /* The regex syntax for this is: '(?(group)then|else)', where
1889 'group' is either an integer group number or a group name,
1900 <group>
1912 <group>
2035 /* return default value if the string or group is undefined */
2077 /* raise IndexError if we were given a bad group number */
2079 PyErr_SetString(PyExc_IndexError, "no such group");
2240 group: object(c_default="NULL") = 0
2243 Return index of the start of the substring matched by group.
2247 _sre_SRE_Match_start_impl(MatchObject *self, PyObject *group)
2250 Py_ssize_t index = match_getindex(self, group);
2256 /* mark is -1 if group is undefined */
2263 group: object(c_default="NULL") = 0
2266 Return index of the end of the substring matched by group.
2270 _sre_SRE_Match_end_impl(MatchObject *self, PyObject *group)
2273 Py_ssize_t index = match_getindex(self, group);
2279 /* mark is -1 if group is undefined */
2313 group: object(c_default="NULL") = 0
2316 For match object m, return the 2-tuple (m.start(group), m.end(group)).
2320 _sre_SRE_Match_span_impl(MatchObject *self, PyObject *group)
2323 Py_ssize_t index = match_getindex(self, group);
2329 /* marks are -1 if group is undefined */
2393 "group([group1, ...]) -> str or tuple.\n\
2461 /* create match object (with room for extra group marks) */
2478 /* fill in group slices */
2494 "The span of capturing group is wrong,"
2793 "A dictionary mapping group names to group numbers."},
2833 {"group", (PyCFunction) match_group, METH_VARARGS, match_group_doc},
2849 "The integer index of the last matched capturing group."},
2851 "The name of the last matched capturing group."},