summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/shlex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shlex.py b/Lib/shlex.py
index 92c49c3..69f3b45 100644
--- a/Lib/shlex.py
+++ b/Lib/shlex.py
@@ -276,7 +276,7 @@ def split(s, comments=False, posix=True):
return list(lex)
-_find_unsafe = re.compile(r'[^\w@%\-\+=:,\./]', re.ASCII).search
+_find_unsafe = re.compile(r'[^\w@%+=:,./-]', re.ASCII).search
def quote(s):
"""Return a shell-escaped version of the string *s*."""