Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

backslash escape dash, fix #167 #187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

paralax
Copy link

@paralax paralax commented Aug 7, 2017

with the backslash:

In [15]: Q = re.compile(r'[^a-zA-Z0-9_.\-=]', re.DEBUG)
in
  negate None
  range (97, 122)
  range (65, 90)
  range (48, 57)
  literal 95
  literal 46
  literal 45
  literal 61

without it:

In [10]: Q = re.compile(r'[^a-zA-Z0-9_.-=]', re.DEBUG)
in
  negate None
  range (97, 122)
  range (65, 90)
  range (48, 57)
  literal 95
  range (46, 61)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant