switched to regexp matching for Rules

This commit is contained in:
arg@10ksloc.org
2006-08-04 14:40:32 +02:00
parent f504aea132
commit e21d93b7bd
6 changed files with 65 additions and 31 deletions

View File

@ -47,9 +47,8 @@ static Key key[] = { \
};
#define RULES \
const unsigned int two[] = { 2 }; \
static Rule rule[] = { \
/* class:instance tags isfloat */ \
{ "Firefox.*", two, False }, \
{ "Gimp.*", NULL, True}, \
/* class:instance regex tags regex isfloat */ \
{ "Firefox.*", "2", False }, \
{ "Gimp.*", NULL, True}, \
};