MCPcopy Create free account
hub / github.com/davidblewett/rure-python / end

Method end

rure/regex.py:261–267  ·  view source on GitHub ↗
(self, group=0)

Source from the content-addressed store, hash-verified

259 return self.captures[group].start
260
261 def end(self, group=0):
262 self._warn(u'end')
263
264 if self.captures[group] is None:
265 return -1
266 else:
267 return self.captures[group].end
268
269 def span(self, group=0):
270 self._warn(u'span')

Callers 2

spanMethod · 0.95
test_start_endMethod · 0.45

Calls 1

_warnMethod · 0.95

Tested by 1

test_start_endMethod · 0.36