Allow more characters in get_simple_string()

This commit is contained in:
2Shirt 2018-07-22 21:56:52 -06:00
parent cd955fe1fc
commit f5994d851b
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -217,7 +217,7 @@ def get_simple_string(prompt='Enter string'):
simple_string = None
while simple_string is None:
_input = input('{}: '.format(prompt))
if re.match(r'^(\w|-|_| )+$', _input, re.ASCII):
if re.match(r"^(\w|-| |\.|')+$", _input, re.ASCII):
simple_string = _input.strip()
return simple_string