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

Function compile

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

Compile a regular expression pattern, returning a Pattern object.

(pattern, flags=0)

Source from the content-addressed store, hash-verified

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

Calls 1

_compileFunction · 0.70

Used in the wild real call sites across dependent graphs

searching dependent graphs…