[24509] users/pipping/find_dependents.pl

source_changes at macosforge.org source_changes at macosforge.org
Thu Apr 26 23:27:09 PDT 2007


Revision: 24509
          http://trac.macosforge.org/projects/macports/changeset/24509
Author:   pipping at macports.org
Date:     2007-04-26 23:27:09 -0700 (Thu, 26 Apr 2007)

Log Message:
-----------
 * fix bug reported by boeyms@ (thanks a lot!):
   \b matches a dash, hence 'gimp-print' would match gimp\b

Modified Paths:
--------------
    users/pipping/find_dependents.pl

Modified: users/pipping/find_dependents.pl
===================================================================
--- users/pipping/find_dependents.pl	2007-04-27 05:32:02 UTC (rev 24508)
+++ users/pipping/find_dependents.pl	2007-04-27 06:27:09 UTC (rev 24509)
@@ -14,7 +14,7 @@
 my $dependency  = qr{
                     (?=[plb])(?:port|(?:path|lib|bin):[^:]+)  # kind
                     :                                         # separator
-                    (?i:$port)\b                              # name
+                    (?i:$port)(\s|\n|$)                       # name
                   }xo;
 
 $/ = ".\n";

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070426/da400b1e/attachment.html


More information about the macports-changes mailing list