Open maxbachmann opened 3 years ago
This is caused by https://github.com/psolin/cleanco/blob/master/cleanco/clean.py#L22. A fix would be to add parentheses to the list of allowed characters
tail_removal_rexp = re.compile(r"[^\.\w\(\)]+$", flags=re.UNICODE)
Should I open a PR for this? The project seems abandoned unfortunately.
Open a PR.
On Mon, May 15, 2023 at 4:49 AM JonasR @.***> wrote:
This is caused by https://github.com/psolin/cleanco/blob/master/cleanco/clean.py#L22. A fix would be to add parentheses to the list of allowed characters
tail_removal_rexp = re.compile(r"[^.\w()]+$", flags=re.UNICODE)
Should I open a PR for this? The project seems abandoned unfortunately.
— Reply to this email directly, view it on GitHub https://github.com/psolin/cleanco/issues/61#issuecomment-1547443501, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPTE73MYXKSYUH4VZUJ4G3XGHUX7ANCNFSM4U4FVGYA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@psolin There you go. Sorry about the mega delay.
When clean_name() is used in the following way:
it strips not only the organisation name. The expected output would be:
company (country)