simplifying regexps in config samples
This commit is contained in:
		
							parent
							
								
									e256afe31e
								
							
						
					
					
						commit
						2d7f59424c
					
				@ -87,8 +87,8 @@ static Key key[] = { \
 | 
			
		||||
#define RULES \
 | 
			
		||||
static Rule rule[] = { \
 | 
			
		||||
	/* 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 }, \
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@ -84,7 +84,7 @@ static Key key[] = { \
 | 
			
		||||
#define RULES \
 | 
			
		||||
static Rule rule[] = { \
 | 
			
		||||
	/* 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 }, \
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user