JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
simplifying regexps in config samples
authorAnselm R. Garbe <arg@suckless.org>
Wed, 14 Feb 2007 08:31:23 +0000 (09:31 +0100)
committerAnselm R. Garbe <arg@suckless.org>
Wed, 14 Feb 2007 08:31:23 +0000 (09:31 +0100)
config.arg.h
config.default.h

index db18df2..2b94fd6 100644 (file)
@@ -87,8 +87,8 @@ static Key key[] = { \
 #define RULES \
 static Rule rule[] = { \
        /* class:instance:title regex   tags regex      isfloat */ \
-       { "Firefox.*",                  "3",            False }, \
-       { "Gimp.*",                     NULL,           True }, \
-       { "MPlayer.*",                  NULL,           True }, \
-       { "Acroread.*",                 NULL,           True }, \
+       { "Firefox",                    "3",            False }, \
+       { "Gimp",                       NULL,           True }, \
+       { "MPlayer",                    NULL,           True }, \
+       { "Acroread",                   NULL,           True }, \
 };
index 49e45c2..b8654bd 100644 (file)
@@ -84,7 +84,7 @@ static Key key[] = { \
 #define RULES \
 static Rule rule[] = { \
        /* class:instance:title regex   tags regex      isfloat */ \
-       { "Gimp.*",                     NULL,           True }, \
-       { "MPlayer.*",                  NULL,           True }, \
-       { "Acroread.*",                 NULL,           True }, \
+       { "Gimp",                       NULL,           True }, \
+       { "MPlayer",                    NULL,           True }, \
+       { "Acroread",                   NULL,           True }, \
 };