Skip to content
New issue

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

Fix wildcard handling in get_hostmask_regex #647

Merged
merged 1 commit into from
Oct 22, 2014
Merged

Fix wildcard handling in get_hostmask_regex #647

merged 1 commit into from
Oct 22, 2014

Conversation

ThiefMaster
Copy link
Contributor

Strings are immutable, so the result of replace() needs to be assigned. Also switched to a raw string for '\*' since it's cleaner ('\*' is an invalid escape sequence even though python handles it fine and without a warning)

ari-koivula added a commit that referenced this pull request Oct 22, 2014
Fix wildcard handling in get_hostmask_regex
@ari-koivula ari-koivula merged commit f51915f into sopel-irc:master Oct 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants