diff config.arg.h @ 191:56fee1dc9d53

switched to regexp matching for Rules
author arg@10ksloc.org
date Fri, 04 Aug 2006 14:40:32 +0200
parents 713dcc7d2c42
children 836fb04ec317
line wrap: on
line diff
--- a/config.arg.h	Fri Aug 04 13:42:40 2006 +0200
+++ b/config.arg.h	Fri Aug 04 14:40:32 2006 +0200
@@ -52,11 +52,10 @@
 };
 
 #define RULES \
-	const unsigned int two[] = { 2 }; \
 static Rule rule[] = { \
-	/* class:instance	tags		isfloat */ \
-	{ "Firefox.*",		two,		False }, \
-	{ "Gimp.*",		NULL,		True}, \
-	{ "MPlayer.*",		NULL,		True}, \
-	{ "Acroread.*",		NULL,		True}, \
+	/* class:instance regex		tags regex	isfloat */ \
+	{ "Firefox.*",			"net",		False }, \
+	{ "Gimp.*",			NULL,		True}, \
+	{ "MPlayer.*",			NULL,		True}, \
+	{ "Acroread.*",			NULL,		True}, \
 };