Minor
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 27 Aug 2012 19:54:15 +0000 (15:54 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 27 Aug 2012 19:54:15 +0000 (15:54 -0400)
test/shaping/hb_test_tools.py

index ce46588..1d1d62c 100644 (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