File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def _make_agd_dict():
7878 are deliberately omitted.
7979 '''
8080 agd_data = _load_agd_data ()
81- rx_uni_name = r'^(?:u|uni)? ([0-9A-F]{4,16})$'
81+ rx_uni_name = r'^(?:u|uni)([0-9A-F]{4,16})$'
8282 # (?:u|uni): the ?: is flagging a non-capturing group
8383 # the AGD may contains final names which combine multiple code points,
8484 # such as uni093F0930094D0902
@@ -363,7 +363,7 @@ def assign_final_and_cp_override(self):
363363 # could be omitted (`uni20` -- although I have not seen that yet).
364364 # The last Unicode Plane (16) ends at 10FFFF, so allowing code points
365365 # up to FFFFFF should be enough.
366- rx_uni_name = r'^(?:u|uni)? ([0-9A-F]{1,6})$'
366+ rx_uni_name = r'^(?:u|uni)([0-9A-F]{1,6})$'
367367 uni_name_match = re .match (rx_uni_name , self .gn_friendly )
368368
369369 # glyph name is in AGD
You can’t perform that action at this time.
0 commit comments