This patch fixes the problem. RTFM!

-- 
Karl Hegbloom <[EMAIL PROTECTED]>
--- contents.cgi	2008/10/25 14:37:48	1.1
+++ contents.cgi	2008/10/25 14:29:55
@@ -12,7 +12,10 @@
 	hdr=0
 
 	if len(sect):
-		matcher=re.compile(sect+"/", re.IGNORECASE)
+		try:
+			matcher=re.compile(sect+"/", re.IGNORECASE)
+		except re.error:
+			matcher=re.compile(re.escape(sect)+"/", re.IGNORECASE)
 	else:
 		matcher=re.compile("")
 

Reply via email to