From cc962485bf418451f528f2240a23f878898b6acd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 12 Dec 2016 15:38:19 +0100 Subject: Regexp replacements --- ymir/mlmmj-expose.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ymir') diff --git a/ymir/mlmmj-expose.hs b/ymir/mlmmj-expose.hs index 03af3c4b..56a70bba 100644 --- a/ymir/mlmmj-expose.hs +++ b/ymir/mlmmj-expose.hs @@ -156,9 +156,9 @@ main = do , groupUrls = Set.empty , groupSubs = Set.fromList $ map (replaceSub ident) subscribers } - replaceSub ident sub = FoxReplaceSub { rInput = listName ++ "+" ++ hash' (ident, sub) ++ "@subs.lists.yggdrasil.li" + replaceSub ident sub = FoxReplaceSub { rInput = listName ++ "\\+" ++ hash' (ident, sub) ++ "(@[^ ]+)?" , rOutput = sub - , rInputType = WordInput + , rInputType = RegexpInput , rCaseSensitive = True } -- cgit v1.2.3