match.span([group])
For a match m, return the 2-tuple (m.start(group), m.end(group))
. Note that if group did not contribute to the match, this is (-1, -1)
. group defaults to zero, the entire match.
match.span([group])
For a match m, return the 2-tuple (m.start(group), m.end(group))
. Note that if group did not contribute to the match, this is (-1, -1)
. group defaults to zero, the entire match.
Please login to continue.