# CPython core - pycopy
def compile(pattern, flags: int = ...): ...
def match(pattern, string) -> None: ...
def search(pattern, string) -> None: ...
def sub(pattern, repl, string, count: int = ..., flags: int = ...): ...
