From 3e86e49c7d8288468f2c9e68772266960abface2 Mon Sep 17 00:00:00 2001 From: Mark Vasilkov Date: Thu, 30 Nov 2017 20:22:58 +0300 Subject: [PATCH] Regexp change for future compatibility. Fixes #347 --- html5lib/_inputstream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html5lib/_inputstream.py b/html5lib/_inputstream.py index c60d1a47..177f0ab9 100644 --- a/html5lib/_inputstream.py +++ b/html5lib/_inputstream.py @@ -48,7 +48,7 @@ 0xDFFFF, 0xEFFFE, 0xEFFFF, 0xFFFFE, 0xFFFFF, 0x10FFFE, 0x10FFFF]) -ascii_punctuation_re = re.compile("[\u0009-\u000D\u0020-\u002F\u003A-\u0040\u005B-\u0060\u007B-\u007E]") +ascii_punctuation_re = re.compile("[\u0009-\u000D\u0020-\u002F\u003A-\u0040\u005C\u005B-\u0060\u007B-\u007E]") # Cache for charsUntil() charsUntilRegEx = {} 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