Преглед на файлове

simplifying regexps in config samples

Anselm R. Garbe преди 18 години
родител
ревизия
2d7f59424c
променени са 2 файла, в които са добавени 7 реда и са изтрити 7 реда
  1. 4 4
      config.arg.h
  2. 3 3
      config.default.h

+ 4 - 4
config.arg.h

@@ -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 }, \
-	{ "Gimp.*",			NULL,		True }, \
-	{ "MPlayer.*",			NULL,		True }, \
-	{ "Acroread.*",			NULL,		True }, \
+	{ "Firefox",			"3",		False }, \
+	{ "Gimp",			NULL,		True }, \
+	{ "MPlayer",			NULL,		True }, \
+	{ "Acroread",			NULL,		True }, \
 };
 };

+ 3 - 3
config.default.h

@@ -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 }, \
-	{ "MPlayer.*",			NULL,		True }, \
-	{ "Acroread.*",			NULL,		True }, \
+	{ "Gimp",			NULL,		True }, \
+	{ "MPlayer",			NULL,		True }, \
+	{ "Acroread",			NULL,		True }, \
 };
 };