[test] Ignor 'n' and 'i' in hb-unicode-encode
Allows accepting uniXXXX format.
This commit is contained in:
parent
39851ce84e
commit
8f0a4d6714
@ -414,7 +414,7 @@ class Unicode:
|
||||
@staticmethod
|
||||
def parse (s):
|
||||
s = re.sub (r"0[xX]", " ", s)
|
||||
s = re.sub (r"[<+>,;&#\\xXuU\n ]", " ", s)
|
||||
s = re.sub (r"[<+>,;&#\\xXuUnNiI\n ]", " ", s)
|
||||
return [int (x, 16) for x in s.split ()]
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
Reference in New Issue
Block a user