From a18025cca563ff7c931077a16dcda6f213dbcf1c Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 3 Apr 2016 08:18:57 -0700 Subject: [PATCH] Replacer: restore support for alternate delimiters Closes #50. --- Replacer/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Replacer/plugin.py b/Replacer/plugin.py index 73628c6..ae19a6b 100644 --- a/Replacer/plugin.py +++ b/Replacer/plugin.py @@ -45,7 +45,7 @@ except ImportError: _ = lambda x: x -SED_REGEX = re.compile(r"^(?:(?P.+?)[:,] )?s(?P/)(?P.*?)(?P=delim)" +SED_REGEX = re.compile(r"^(?:(?P.+?)[:,] )?s(?P.)(?P.*?)(?P=delim)" r"(?P.*?)(?:(?P=delim)(?P[gi]*))?$") class Replacer(callbacks.PluginRegexp):