simplifying regexps in config samples
Anselm R. Garbe arg@suckless.org
Wed, 14 Feb 2007 09:31:23 +0100
2 files changed,
7 insertions(+),
7 deletions(-)
M
config.arg.h
→
config.arg.h
@@ -87,8 +87,8 @@
#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 }, \ };
M
config.default.h
→
config.default.h
@@ -84,7 +84,7 @@ * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
#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 }, \ };