summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-07-12 22:11:03 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-07-12 22:11:03 +0200
commit202ff98aac0c1c8029261e69c509f0c1e6390c59 (patch)
tree234e12bd74ba3156ddc328a29ce2641b804c67cd
parentb8114e5e3de407d5dfe54f392a92ce5f1a52a273 (diff)
downloadxmobar-202ff98aac0c1c8029261e69c509f0c1e6390c59.tar.gz
xmobar-202ff98aac0c1c8029261e69c509f0c1e6390c59.tar.bz2
Back to regex-compat with a simpler POSIX regexp
-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,