summaryrefslogtreecommitdiff
path: root/ymir/mlmmj-expose.hs
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-12 15:38:19 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-12 15:38:19 +0100
commitcc962485bf418451f528f2240a23f878898b6acd (patch)
tree4e18997ec9388eef9ac5d133fe1100d836808be3 /ymir/mlmmj-expose.hs
parente242fa09afdf2d7763c3c99b900406eb1f7b287d (diff)
downloadnixos-cc962485bf418451f528f2240a23f878898b6acd.tar
nixos-cc962485bf418451f528f2240a23f878898b6acd.tar.gz
nixos-cc962485bf418451f528f2240a23f878898b6acd.tar.bz2
nixos-cc962485bf418451f528f2240a23f878898b6acd.tar.xz
nixos-cc962485bf418451f528f2240a23f878898b6acd.zip
Regexp replacements
Diffstat (limited to 'ymir/mlmmj-expose.hs')
-rw-r--r--ymir/mlmmj-expose.hs4
1 files changed, 2 insertions, 2 deletions
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
156 , groupUrls = Set.empty 156 , groupUrls = Set.empty
157 , groupSubs = Set.fromList $ map (replaceSub ident) subscribers 157 , groupSubs = Set.fromList $ map (replaceSub ident) subscribers
158 } 158 }
159 replaceSub ident sub = FoxReplaceSub { rInput = listName ++ "+" ++ hash' (ident, sub) ++ "@subs.lists.yggdrasil.li" 159 replaceSub ident sub = FoxReplaceSub { rInput = listName ++ "\\+" ++ hash' (ident, sub) ++ "(@[^ ]+)?"
160 , rOutput = sub 160 , rOutput = sub
161 , rInputType = WordInput 161 , rInputType = RegexpInput
162 , rCaseSensitive = True 162 , rCaseSensitive = True
163 } 163 }
164 164