Revised patch to minimize the diff, update the Origin, and add the Author.

Thanks

   -- Chris

-- 
Chris Knadle
chris.kna...@coredump.us
Description: Fix octal escape on Python 3.5
Origin: https://bitbucket.org/cthedot/cssutils/commits/866a29f7e03447199ba22fb114d42a7aab027db9/raw/
Author: Daniel <kingdr...@gmx.de>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798023
Bug-Upstream: https://bugs.python.org/issue22362
Last-Updated: 2016-01-21

--- a/src/cssutils/profiles.py
+++ b/src/cssutils/profiles.py
@@ -102,7 +102,7 @@
         'nmstart': r'[_a-z]|{nonascii}|{escape}',
         'nonascii': r'[^\0-\177]',
         'unicode': r'\\[0-9a-f]{1,6}(\r\n|[ \n\r\t\f])?',
-        'escape': r'{unicode}|\\[ -~\200-\777]',
+        'escape': r'{unicode}|\\[ -~\u0080-\u01ff]',
     #   'escape': r'{unicode}|\\[ -~\200-\4177777]',
         'int': r'[-]?\d+',
         'nmchar': r'[\w-]|{nonascii}|{escape}',

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to