Skip to content

Commit c852508

Browse files
committed
formatting
1 parent ff8eb8c commit c852508

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pydantic_extra_types/domain.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
class DomainStr(str):
1515
"""A string subclass with custom validation for domain string format."""
16+
1617
_domain_re_pattern = r'(?=^.{1,253}$)(^((?!-)[a-zA-Z0-9-]{1,63}(?<!-)\.)+[a-zA-Z]{2,63}$)'
1718

1819
@classmethod

0 commit comments

Comments
 (0)