summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Actions.hs2
-rw-r--r--xmobar.cabal2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/Actions.hs b/src/Actions.hs
index f3dc55a..42b9545 100644
--- a/src/Actions.hs
+++ b/src/Actions.hs
@@ -24,4 +24,4 @@ runAction (Spawn s) = void $ system (s ++ "&")
stripActions :: String -> String
stripActions s = subRegex actionRegex s "[action=\1]\2[action]"
- where actionRegex = mkRegex "<action=([^>])*>(.+?)</action>"
+ where actionRegex = mkRegex "<action=([^>])*>(.+)</action>"
diff --git a/xmobar.cabal b/xmobar.cabal
index 076cf0c..2ba7e57 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -97,9 +97,7 @@ executable xmobar
build-depends:
base == 4.*,
containers,
- array,
regex-compat,
- regex-pcre,
process,
old-locale,
bytestring,