summaryrefslogtreecommitdiffhomepage
path: root/src
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 /src
parentb8114e5e3de407d5dfe54f392a92ce5f1a52a273 (diff)
downloadxmobar-202ff98aac0c1c8029261e69c509f0c1e6390c59.tar.gz
xmobar-202ff98aac0c1c8029261e69c509f0c1e6390c59.tar.bz2
Back to regex-compat with a simpler POSIX regexp
Diffstat (limited to 'src')
-rw-r--r--src/Actions.hs2
1 files changed, 1 insertions, 1 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>"