tests(python): add test file for regex

This commit is contained in:
Lev Velykoivanenko 2025-10-18 18:54:26 +02:00
parent 99038c83d1
commit be0c8d335f
No known key found for this signature in database
GPG key ID: 9D8D7DDC484386DE

View file

@ -0,0 +1,10 @@
import re
re_test = re.compile(r"^(?P<year>\d{4}) (?P<day>\d) \w\s{,3}$")
# ^ @string.regexp
re_test = re.compile(
r"^(?P<year>\d{4}) "
# ^ @string.regexp
r"(?P<day>\d) \w\s{,3}"
# ^ @string.regexp
)