simplifying regexps in config samples - dwm - dynamic window manager HTML git clone https://git.parazyd.org/dwm DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 2d7f59424c1b3974c3093cb800326437df7caa94 DIR parent e256afe31ef6a70eceb632ddfe717bfe6d8d9169 HTML Author: Anselm R. Garbe <arg@suckless.org> Date: Wed, 14 Feb 2007 09:31:23 +0100 simplifying regexps in config samples Diffstat: M config.arg.h | 8 ++++---- M config.default.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) --- DIR diff --git a/config.arg.h b/config.arg.h @@ -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 }, \ }; DIR diff --git a/config.default.h b/config.default.h @@ -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 }, \ };