mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue