Allow port in hostname only config
This commit is contained in:
parent
38c0213ead
commit
b7e5c9d580
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class INIParser(object):
|
|||
|
||||
search = (r'(?:([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}|' # domain...
|
||||
r'localhost|' # localhost...
|
||||
r'^[a-zA-Z0-9_-]*$|'
|
||||
r'^[a-zA-Z0-9_-]*|'
|
||||
r'\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})' # ...or ip
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue