summaryrefslogtreecommitdiff
path: root/ymir/mlmmj-expose.hs
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-12 15:40:17 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-12 15:40:24 +0100
commit29362a81efcc6c3145b999e2324090b12eb2ecb4 (patch)
treec9a30d3e39be17a315e87fc549c23d952bea8426 /ymir/mlmmj-expose.hs
parentcc962485bf418451f528f2240a23f878898b6acd (diff)
downloadnixos-29362a81efcc6c3145b999e2324090b12eb2ecb4.tar
nixos-29362a81efcc6c3145b999e2324090b12eb2ecb4.tar.gz
nixos-29362a81efcc6c3145b999e2324090b12eb2ecb4.tar.bz2
nixos-29362a81efcc6c3145b999e2324090b12eb2ecb4.tar.xz
nixos-29362a81efcc6c3145b999e2324090b12eb2ecb4.zip
more precise regexps
Diffstat (limited to 'ymir/mlmmj-expose.hs')
-rw-r--r--ymir/mlmmj-expose.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ymir/mlmmj-expose.hs b/ymir/mlmmj-expose.hs
index 56a70bba..169fbb42 100644
--- a/ymir/mlmmj-expose.hs
+++ b/ymir/mlmmj-expose.hs
@@ -156,7 +156,7 @@ 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) ++ "(@[^ ]+)?" 159 replaceSub ident sub = FoxReplaceSub { rInput = listName ++ "\\+" ++ hash' (ident, sub) ++ "(@subs\\.lists\\.yggdrasil\\.li)?"
160 , rOutput = sub 160 , rOutput = sub
161 , rInputType = RegexpInput 161 , rInputType = RegexpInput
162 , rCaseSensitive = True 162 , rCaseSensitive = True