simplifying regexps in config samples
2d7f5942
2 file(s) · +7 −7
| 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 | }; |
| 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 | }; |