Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bedroombuilds/python2rust
/ is_proper_date
Function
is_proper_date
17_regex/python/io_regex.py:8–12 ·
view source on GitHub ↗
(line)
Source
from the content-addressed store, hash-verified
6
7
8
def
is_proper_date(line):
9
global RE
10
if
RE is None:
11
RE = re.compile(r
"^(\d{4})-(\d{2})-(\d{2})$"
)
12
return
RE.match(line)
13
14
15
if
__name__ ==
"__main__"
:
Callers
1
io_regex.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected