diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-07-12 22:11:03 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-07-12 22:11:03 +0200 |
commit | 202ff98aac0c1c8029261e69c509f0c1e6390c59 (patch) | |
tree | 234e12bd74ba3156ddc328a29ce2641b804c67cd /src | |
parent | b8114e5e3de407d5dfe54f392a92ce5f1a52a273 (diff) | |
download | xmobar-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.hs | 2 |
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>" |