Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

this changes nothing

  • Loading branch information...
commit b4196a57e85a2ee6f56651f9c0e903d4fbe30df5 1 parent 57c9bb5
Colin T.A. Gray authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  strange_case/configurators/setdefault_name.py
2  strange_case/configurators/setdefault_name.py
View
@@ -21,7 +21,7 @@ def setdefault_name(source_file, config):
name += '_' + ext[1:] # pluck off the "." in front
# replace non-word, hyphens, and spaces characters with _
- name = re.sub(r'[\W -]', '_', name, re.UNICODE)
+ name = re.sub(r'\W', '_', name, re.UNICODE)
config['name'] = name.encode('ascii')
return config
Please sign in to comment.
Something went wrong with that request. Please try again.