simplifying regexps in config samples 2d7f5942
Anselm R. Garbe · 2007-02-14 09:31 2 file(s) · +7 −7
config.arg.h +4 −4
87 87
#define RULES \
88 88
static Rule rule[] = { \
89 89
	/* class:instance:title regex	tags regex	isfloat */ \
90 -
	{ "Firefox.*",			"3",		False }, \
91 -
	{ "Gimp.*",			NULL,		True }, \
92 -
	{ "MPlayer.*",			NULL,		True }, \
93 -
	{ "Acroread.*",			NULL,		True }, \
90 +
	{ "Firefox",			"3",		False }, \
91 +
	{ "Gimp",			NULL,		True }, \
92 +
	{ "MPlayer",			NULL,		True }, \
93 +
	{ "Acroread",			NULL,		True }, \
94 94
};
config.default.h +3 −3
84 84
#define RULES \
85 85
static Rule rule[] = { \
86 86
	/* class:instance:title regex	tags regex	isfloat */ \
87 -
	{ "Gimp.*",			NULL,		True }, \
88 -
	{ "MPlayer.*",			NULL,		True }, \
89 -
	{ "Acroread.*",			NULL,		True }, \
87 +
	{ "Gimp",			NULL,		True }, \
88 +
	{ "MPlayer",			NULL,		True }, \
89 +
	{ "Acroread",			NULL,		True }, \
90 90
};