This commit is contained in:
Behdad Esfahbod 2014-08-13 19:42:01 -04:00
parent cd5a1149d9
commit c4308f895a
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ class Unicode:
def parse (s): def parse (s):
s = re.sub (r"0[xX]", " ", s) s = re.sub (r"0[xX]", " ", s)
s = re.sub (r"[<+>,;&#\\xXuU\n ]", " ", s) s = re.sub (r"[<+>,;&#\\xXuU\n ]", " ", s)
return [int (x, 16) for x in s.split (' ') if len (x)] return [int (x, 16) for x in s.split ()]
@staticmethod @staticmethod
def encode (s): def encode (s):