mirror of git://sourceware.org/git/glibc.git
localedata/unicode-gen/utf8_gen.py: adapt regexp to get relevant lines from EastAsianWidth.txt
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
ba017b4f9d
commit
71de3aead9
|
|
@ -350,7 +350,7 @@ if __name__ == "__main__":
|
|||
# the EastAsianWidth.txt file.
|
||||
if re.match(r'.*<reserved-.+>\.\.<reserved-.+>.*', LINE):
|
||||
continue
|
||||
if re.match(r'^[^;]*;[WF]', LINE):
|
||||
if re.match(r'^[^;]*;\s*[WF]\s*', LINE):
|
||||
EAST_ASIAN_WIDTH_LINES.append(LINE.strip())
|
||||
with open(ARGS.prop_list_file, mode='r') as PROP_LIST_FILE:
|
||||
PROP_LIST_LINES = []
|
||||
|
|
|
|||
Loading…
Reference in New Issue