[23785] users/pipping/test.pl

source_changes at macosforge.org source_changes at macosforge.org
Mon Apr 9 17:33:12 PDT 2007


Revision: 23785
          http://trac.macosforge.org/projects/macports/changeset/23785
Author:   pipping at macports.org
Date:     2007-04-09 17:33:12 -0700 (Mon, 09 Apr 2007)

Log Message:
-----------
 * use positive lookahead for build|run|lib, port|path|lib|bin

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

Modified: users/pipping/test.pl
===================================================================
--- users/pipping/test.pl	2007-04-09 23:37:43 UTC (rev 23784)
+++ users/pipping/test.pl	2007-04-10 00:33:12 UTC (rev 23785)
@@ -12,9 +12,9 @@
 
 my $quick_check = qr{:$port}i;
 
-my $dependency  = qr{depends_(?:build|run|lib)(?:-(?:append|delete))?
+my $dependency  = qr{depends_(?=[brl])(?:build|run|lib)(?:-(?:append|delete))?
                   .*
-                  (?:port|(?:path|lib|bin):[^:]+):(?i:${port})(?:\s|$)}x;
+                  (?=[plb])(?:port|(?:path|lib|bin):[^:]+):(?i:${port})(?:\s|$)}x;
 
 $/ = ".\n";
 

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


More information about the macports-changes mailing list