diff options
| author | 2019-09-07 22:38:21 +0100 | |
|---|---|---|
| committer | 2019-09-07 22:38:21 +0100 | |
| commit | a59afb883a3e2145578a2f94abc53b7397a1477b (patch) | |
| tree | 1ad681d13ec71c3dba0811c3cb9e683385d3ab29 /modules/sed.py | |
| parent | force timezone info on to badge dates (diff) | |
| signature | ||
accept "," as well as ":" as a sed target marker
Diffstat (limited to 'modules/sed.py')
| -rw-r--r-- | modules/sed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sed.py b/modules/sed.py index 3d3c15f1..483eea5a 100644 --- a/modules/sed.py +++ b/modules/sed.py @@ -5,7 +5,7 @@ import re, traceback from src import ModuleManager, utils REGEX_SPLIT = re.compile("(?<!\\\\)/") -REGEX_SED = re.compile("^(?:(\\S+): )?s/") +REGEX_SED = re.compile("^(?:(\\S+)[:,] )?s/") @utils.export("channelset", utils.BoolSetting("sed","Disable/Enable sed in a channel")) |
