[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.11-150-g4936e00



The following commit has been merged in the master branch:
commit 4936e000379e09e896582ddf4f8ccd7ec8a4b93b
Author: Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
Date:   Sat Feb 9 20:49:14 2013 +0100

    Be more liberal on space matching for gfdl detection
    
    Replace \s? by \s* (or exactly $s? by $s*)
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/cruft b/checks/cruft
index 18651f4..ae9587d 100644
--- a/checks/cruft
+++ b/checks/cruft
@@ -464,9 +464,9 @@ sub find_cruft {
                                 # no invariant
                             }
                             when(m/with $s+ the $s+ Invariant $s+ Sections $s+ being
-                                        $s+ (?:\@var\{|<var>)? LIST $s+ THEIR $s+TITLES (?:\}|<\/var>)? $s? ,?
+                                        $s+ (?:\@var\{|<var>)? LIST $s+ THEIR $s+TITLES (?:\}|<\/var>)? $s* ,?
                                         $s+ with $s+ the $s+ Front-Cover $s+ Texts $s+ being
-                                        $s+ (?:\@var\{|<var>)? LIST (?:\}|<\/var>)? $s? ,?
+                                        $s+ (?:\@var\{|<var>)? LIST (?:\}|<\/var>)? $s* ,?
                                         $s+ and $s+ with $s+ the $s+ Back-Cover $s+ Texts $s+ being
                                         $s+ (?:\@var\{|<var>)? LIST (?:\}|<\/var>)?/xiso) {
                                 # verbatim text of license is ok

-- 
Debian package checker


Reply to: