MCPcopy Index your code
hub / github.com/python/cpython / finditer

Function finditer

Lib/re/__init__.py:282–287  ·  view source on GitHub ↗

Return an iterator over all non-overlapping matches in the string. For each match, the iterator returns a Match object. Empty matches are included in the result.

(pattern, string, flags=0)

Source from the content-addressed store, hash-verified

280 return _compile(pattern, flags).findall(string)
281
282def finditer(pattern, string, flags=0):
283 """Return an iterator over all non-overlapping matches in the
284 string. For each match, the iterator returns a Match object.
285
286 Empty matches are included in the result."""
287 return _compile(pattern, flags).finditer(string)
288
289def compile(pattern, flags=0):
290 "Compile a regular expression pattern, returning a Pattern object."

Callers

nothing calls this directly

Calls 1

_compileFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…