cvs: phpweb /include manual-lookup.inc

From: Date: Wed, 08 Jan 2003 08:11:51 +0000
Subject: cvs: phpweb /include manual-lookup.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14840@lists.php.net to get a copy of this message
goba Wed Jan 8 03:11:51 2003 EDT Modified files: /phpweb/include manual-lookup.inc Log: Add a comment on why the parentheses replace is there (it was not obvious for me for the first time, just after I thought about it ;)). Index: phpweb/include/manual-lookup.inc diff -u phpweb/include/manual-lookup.inc:1.14 phpweb/include/manual-lookup.inc:1.15 --- phpweb/include/manual-lookup.inc:1.14 Tue Jan 7 17:15:57 2003 +++ phpweb/include/manual-lookup.inc Wed Jan 8 03:11:51 2003 @@ -1,6 +1,6 @@ <?php // -*- C++ -*- -// $Id: manual-lookup.inc,v 1.14 2003/01/07 22:15:57 goba Exp $ +// $Id: manual-lookup.inc,v 1.15 2003/01/08 08:11:51 goba Exp $ // Try to find some variations of keyword with $prefix in the $lang manual function tryprefix($lang, $keyword, $prefix) @@ -10,7 +10,7 @@ // Replace all underscores with hyphens (phpdoc convention) $keyword = str_replace("_", "-", $keyword); - // Replace everything in parentheses with a hyphen + // Replace everything in parentheses with a hyphen (ie. function call) $keyword = preg_replace("!\\(.*\\)!", "-", $keyword); // Try the keyword with the prefix

« previous php.mirrors (#14840) next »