mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
Minor
This commit is contained in:
1 parent
23b0e9d7dc
commit
a4e75e4128
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user