[hackers] [dwm] simplifying regexps in config samples

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Wed Feb 14 09:33:28 2007

changeset: 758:63ad05e7f9e1
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Wed Feb 14 09:31:23 2007 +0100
summary: simplifying regexps in config samples

diff -r 22dfaeb82491 -r 63ad05e7f9e1 config.arg.h
--- a/config.arg.h Wed Feb 14 09:09:18 2007 +0100
+++ b/config.arg.h Wed Feb 14 09:31:23 2007 +0100
@@ -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 }, \
 };
diff -r 22dfaeb82491 -r 63ad05e7f9e1 config.default.h
--- a/config.default.h Wed Feb 14 09:09:18 2007 +0100
+++ b/config.default.h Wed Feb 14 09:31:23 2007 +0100
@@ -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 }, \
 };
Received on Wed Feb 14 2007 - 09:33:28 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:18 UTC