From 202ff98aac0c1c8029261e69c509f0c1e6390c59 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Fri, 12 Jul 2013 22:11:03 +0200 Subject: Back to regex-compat with a simpler POSIX regexp --- src/Actions.hs | 2 +- xmobar.cabal | 2 -- 2 files changed, 1 insertion(+), 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 "])*>(.+?)" + where actionRegex = mkRegex "])*>(.+)" 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, -- cgit v1.2.3