MCPcopy Index your code
hub / github.com/theskumar/python-dotenv / make_regex

Function make_regex

src/dotenv/parser.py:14–15  ·  view source on GitHub ↗
(string: str, extra_flags: int = 0)

Source from the content-addressed store, hash-verified

12
13
14def make_regex(string: str, extra_flags: int = 0) -> Pattern[str]:
15 return re.compile(string, re.UNICODE | extra_flags)
16
17
18_newline = make_regex(r"(\r\n|\n|\r)")

Callers 1

parser.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…