This commit is contained in:
Behdad Esfahbod 2012-08-27 15:54:15 -04:00
parent 23b0e9d7dc
commit a4e75e4128
1 changed files with 1 additions and 1 deletions

View File

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