Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/theskumar/python-dotenv
/ make_regex
Function
make_regex
src/dotenv/parser.py:7–8 ·
view source on GitHub ↗
(string: str, extra_flags: int = 0)
Source
from the content-addressed store, hash-verified
5
6
7
def
make_regex(string: str, extra_flags: int = 0) -> Pattern[str]:
8
return
re.compile(string, re.UNICODE | extra_flags)
9
10
11
_newline = make_regex(r
"(\r\n|\n|\r)"
)
Callers
1
parser.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected