We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When clean_name() is used in the following way:
>>> cleanco('company (country) Pvt. Ltd.').clean_name() 'company (country'
it strips not only the organisation name. The expected output would be: company (country)
company (country)
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
@psolin There you go. Sorry about the mega delay.
Successfully merging a pull request may close this issue.
When clean_name() is used in the following way:
it strips not only the organisation name.
The expected output would be:
company (country)
The text was updated successfully, but these errors were encountered: