diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-12-12 15:38:19 +0100 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-12-12 15:38:19 +0100 |
commit | cc962485bf418451f528f2240a23f878898b6acd (patch) | |
tree | 4e18997ec9388eef9ac5d133fe1100d836808be3 /ymir | |
parent | e242fa09afdf2d7763c3c99b900406eb1f7b287d (diff) | |
download | nixos-cc962485bf418451f528f2240a23f878898b6acd.tar nixos-cc962485bf418451f528f2240a23f878898b6acd.tar.gz nixos-cc962485bf418451f528f2240a23f878898b6acd.tar.bz2 nixos-cc962485bf418451f528f2240a23f878898b6acd.tar.xz nixos-cc962485bf418451f528f2240a23f878898b6acd.zip |
Regexp replacements
Diffstat (limited to 'ymir')
-rw-r--r-- | ymir/mlmmj-expose.hs | 4 |
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 | ||