[hackers] [wmii] Fix regex tagrules. Closes issue #166. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Sat, 23 Jan 2010 23:50:06 +0000 (UTC)

changeset: 2598:5c894ec1ad44
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Sat Jan 23 18:48:26 2010 -0500
files: cmd/wmii/rule.c
description:
Fix regex tagrules. Closes issue #166.

diff -r 36ae459c64b0 -r 5c894ec1ad44 cmd/wmii/rule.c
--- a/cmd/wmii/rule.c Sat Jan 23 16:56:42 2010 -0500
+++ b/cmd/wmii/rule.c Sat Jan 23 18:48:26 2010 -0500
@@ -86,7 +86,7 @@
                 case VALUE:
                         if(c == '\n' || c == '#' || c == 0) {
                                 *v = 0;
- trim(value, " \t/");
+ trim(value, " \t");
                                 *rule = emallocz(sizeof **rule);
                                 (*rule)->regex = regcomp(regex);
                                 if((*rule)->regex) {
Received on Sat Jan 23 2010 - 23:50:06 UTC

This archive was generated by hypermail 2.2.0 : Sun Jan 24 2010 - 00:00:10 UTC