Sophie

Sophie

distrib > Fedora > 16 > x86_64 > by-pkgid > 9c1eac21b0154def9b1ac7b3a6085cf5 > files > 4

rpmlint-1.4-11.fc16.src.rpm

diff -up rpmlint-1.4/AbstractCheck.py.tighten-regexp rpmlint-1.4/AbstractCheck.py
--- rpmlint-1.4/AbstractCheck.py.tighten-regexp	2012-09-06 15:38:03.122662962 -0400
+++ rpmlint-1.4/AbstractCheck.py	2012-09-06 15:38:10.939663091 -0400
@@ -16,7 +16,7 @@ from Filter import addDetails, printInfo
 import Config
 
 # Note: do not add any capturing parentheses here
-macro_regex = re.compile('%+[{(]?\w+[)}]?')
+macro_regex = re.compile('%+[{(]?[a-zA-Z_]\w{2,}[)}]?')
 
 class _HeadRequest(urllib2.Request):
     def get_method(self):