diff options
| author | 2018-10-12 08:38:29 +0100 | |
|---|---|---|
| committer | 2018-10-12 08:38:29 +0100 | |
| commit | 382728e83ecad80085c61255422fd123d2cade2e (patch) | |
| tree | 2da33c7138a242775de6f4fda6361cd7d326f132 /modules | |
| parent | Improve "non-complete line" TRACE log (diff) | |
| signature | ||
Add ` and * to characters stripped from start/end or words in modules/words.py
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/words.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/words.py b/modules/words.py index 8982326c..b7e3e45c 100644 --- a/modules/words.py +++ b/modules/words.py @@ -1,8 +1,9 @@ import time from src import EventManager, ModuleManager, utils -WORD_START = "\"“'({<…" -WORD_STOP = "\"”')}>;:.,!?~…" +WORD_DELIM = "\"'…~*`" +WORD_START = WORD_DELIM+"“({<" +WORD_STOP = WORD_DELIM+"”)}>;:.,!?" class Module(ModuleManager.BaseModule): def _channel_message(self, user, event): |
