simplifying regexps in config samples
This commit is contained in:
parent
e256afe31e
commit
2d7f59424c
@ -87,8 +87,8 @@ static Key key[] = { \
|
|||||||
#define RULES \
|
#define RULES \
|
||||||
static Rule rule[] = { \
|
static Rule rule[] = { \
|
||||||
/* class:instance:title regex tags regex isfloat */ \
|
/* class:instance:title regex tags regex isfloat */ \
|
||||||
{ "Firefox.*", "3", False }, \
|
{ "Firefox", "3", False }, \
|
||||||
{ "Gimp.*", NULL, True }, \
|
{ "Gimp", NULL, True }, \
|
||||||
{ "MPlayer.*", NULL, True }, \
|
{ "MPlayer", NULL, True }, \
|
||||||
{ "Acroread.*", NULL, True }, \
|
{ "Acroread", NULL, True }, \
|
||||||
};
|
};
|
||||||
|
@ -84,7 +84,7 @@ static Key key[] = { \
|
|||||||
#define RULES \
|
#define RULES \
|
||||||
static Rule rule[] = { \
|
static Rule rule[] = { \
|
||||||
/* class:instance:title regex tags regex isfloat */ \
|
/* class:instance:title regex tags regex isfloat */ \
|
||||||
{ "Gimp.*", NULL, True }, \
|
{ "Gimp", NULL, True }, \
|
||||||
{ "MPlayer.*", NULL, True }, \
|
{ "MPlayer", NULL, True }, \
|
||||||
{ "Acroread.*", NULL, True }, \
|
{ "Acroread", NULL, True }, \
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user