MCPcopy Index your code
hub / github.com/RustPython/RustPython / finditer

Function finditer

Lib/re/__init__.py:280–285  ·  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

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

Callers

nothing calls this directly

Calls 2

finditerMethod · 0.80
_compileFunction · 0.70

Tested by

no test coverage detected