accept "," as well as ":" as a sed target marker
This commit is contained in:
parent
b807ffbba8
commit
a59afb883a
1 changed files with 1 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue