mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 01:35:30 +00:00
logs-spy: don't ignore space when cleaning
This commit is contained in:
parent
9d9c8d2104
commit
befa18c4de
|
@ -16,7 +16,7 @@ class Logs(Cog):
|
|||
self.invite_re = re.compile(r"((discord\.gg|discordapp\.com/"
|
||||
r"+invite)/+[a-zA-Z0-9-]+)")
|
||||
self.name_re = re.compile(r"[a-zA-Z0-9].*")
|
||||
self.clean_re = re.compile(r'[\W_]+', re.UNICODE)
|
||||
self.clean_re = re.compile(r'[^a-zA-Z0-9_ ]+', re.UNICODE)
|
||||
# All lower case, no spaces, nothing non-alphanumeric
|
||||
self.susp_words = ["sx", "tx", "reinx", # piracy-enabling cfws
|
||||
"tinfoil", "dz", # title managers
|
||||
|
|
Loading…
Reference in a new issue