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

Function compile

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

Compile a regular expression pattern, returning a Pattern object.

(pattern, flags=0)

Source from the content-addressed store, hash-verified

285 return _compile(pattern, flags).finditer(string)
286
287def compile(pattern, flags=0):
288 "Compile a regular expression pattern, returning a Pattern object."
289 return _compile(pattern, flags)
290
291def purge():
292 "Clear the regular expression caches"

Calls 1

_compileFunction · 0.70