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

backslash escape dash, fix #167#187

Open
paralax wants to merge 1 commit intoeuske:masterfrom
paralax:patch-2
Open

backslash escape dash, fix #167#187
paralax wants to merge 1 commit intoeuske:masterfrom
paralax:patch-2

Conversation

@paralax
Copy link
Copy Markdown

@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