MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / finditer

Function finditer

tools/python-3.11.9-amd64/Lib/re/__init__.py:218–223  ·  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

216 return _compile(pattern, flags).findall(string)
217
218def finditer(pattern, string, flags=0):
219 """Return an iterator over all non-overlapping matches in the
220 string. For each match, the iterator returns a Match object.
221
222 Empty matches are included in the result."""
223 return _compile(pattern, flags).finditer(string)
224
225def compile(pattern, flags=0):
226 "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