diff options
author | Joris Peeraer <joris.peeraer@nokia.com> | 2023-01-14 15:54:45 +0100 |
---|---|---|
committer | Gilbert Ramirez <gilbertr@gmail.com> | 2023-02-27 17:51:24 +0000 |
commit | 31bb4ff1359659d848f55ee18ff20924fcbed145 (patch) | |
tree | 3dbb9f8e9ba42485b2a6facdbe734ccdacacc093 /tools | |
parent | eb03246c6b480f1f01f979dd69194f290469c9e1 (diff) |
enterprises: recognize "previously" as synonym for "formerly"
Enterprise-names containing "formerly" are handled differently, removing the former
name and only keeping the current one.
Some enterprise-names have changed their names using the synonym "previously",
which is currently not parsed in the same way. This commit modifies the script
to recognize both.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/make-sminmpec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make-sminmpec.py b/tools/make-sminmpec.py index c6cfaeca00..0879bf8539 100755 --- a/tools/make-sminmpec.py +++ b/tools/make-sminmpec.py @@ -32,7 +32,7 @@ ENTERPRISES_HEADER = """\ DECIMAL_PATTERN = r"^(\d+)" # up to three spaces because of formatting errors in the source ORGANIZATION_PATTERN = r"^ ?(\S.*)" -FORMERLY_PATTERN = r" \((formerly .*)\)" +FORMERLY_PATTERN = r" \(((formerly|previously) .*)\)" def generate_enterprise_files(file_content): |