aboutsummaryrefslogtreecommitdiff
path: root/modules/sed.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-07 22:38:21 +0100
committerGravatar jesopo2019-09-07 22:38:21 +0100
commita59afb883a3e2145578a2f94abc53b7397a1477b (patch)
tree1ad681d13ec71c3dba0811c3cb9e683385d3ab29 /modules/sed.py
parentforce 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.py2
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"))