[Rivet-svn] r1688 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Jul 14 15:42:59 BST 2009


Author: buckley
Date: Tue Jul 14 15:42:59 2009
New Revision: 1688

Log:
Make rivet --show-analysis regex case-insensitive

Modified:
   trunk/bin/rivet

Modified: trunk/bin/rivet
==============================================================================
--- trunk/bin/rivet	Tue Jul 14 15:41:51 2009	(r1687)
+++ trunk/bin/rivet	Tue Jul 14 15:42:59 2009	(r1688)
@@ -205,7 +205,7 @@
         else:
             ## Treat as a regex
             import re
-            regex = re.compile(a)
+            regex = re.compile(a, re.I)
             for ana in all_analyses:
                 if regex.search(ana) and a_up not in toshow:
                     toshow.append(ana)


More information about the Rivet-svn mailing list