Skip to content

Commit af35626

Browse files
authored
Merge pull request html5lib#379 from mvasilkov/patch-1
Regexp change for future compatibility. Fixes html5lib#347
2 parents c4a85fc + 3e86e49 commit af35626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html5lib/_inputstream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
0xDFFFF, 0xEFFFE, 0xEFFFF, 0xFFFFE, 0xFFFFF,
4949
0x10FFFE, 0x10FFFF])
5050

51-
ascii_punctuation_re = re.compile("[\u0009-\u000D\u0020-\u002F\u003A-\u0040\u005B-\u0060\u007B-\u007E]")
51+
ascii_punctuation_re = re.compile("[\u0009-\u000D\u0020-\u002F\u003A-\u0040\u005C\u005B-\u0060\u007B-\u007E]")
5252

5353
# Cache for charsUntil()
5454
charsUntilRegEx = {}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy