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

Method start

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

Source from the content-addressed store, hash-verified

251 return gdict
252
253 def start(self, group=0):
254 self._warn(u'start')
255
256 if self.captures[group] is None:
257 return -1
258 else:
259 return self.captures[group].start
260
261 def end(self, group=0):
262 self._warn(u'end')

Callers 2

spanMethod · 0.95
test_start_endMethod · 0.45

Calls 1

_warnMethod · 0.95

Tested by 1

test_start_endMethod · 0.36