summaryrefslogtreecommitdiff
path: root/src/validators/fqdn
diff options
context:
space:
mode:
Diffstat (limited to 'src/validators/fqdn')
-rwxr-xr-xsrc/validators/fqdn2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/validators/fqdn b/src/validators/fqdn
index 347ffda42..66276c093 100755
--- a/src/validators/fqdn
+++ b/src/validators/fqdn
@@ -17,11 +17,9 @@
import re
import sys
-
# pattern copied from: https://www.regextester.com/103452
pattern = "(?=^.{4,253}$)(^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9]\.)+[a-zA-Z]{2,63}$)"
-
if __name__ == '__main__':
if len(sys.argv) != 2:
sys.exit(1)