Minor
This commit is contained in:
parent
cd5a1149d9
commit
c4308f895a
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue