cvs: php-src(PHP_5_3) /win32/build config.w32

From: Date: Thu, 20 Mar 2008 15:03:20 +0000
Subject: cvs: php-src(PHP_5_3) /win32/build config.w32
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-49266@lists.php.net to get a copy of this message
sfox Thu Mar 20 15:03:20 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/win32/build config.w32 Log: Allow Elizabeth's favourite function to accept 2-4 sets of digits in version. http://cvs.php.net/viewvc.cgi/php-src/win32/build/config.w32?r1=1.40.2.8.2.10.2.11&r2=1.40.2.8.2.10.2.12&diff_format=u Index: php-src/win32/build/config.w32 diff -u php-src/win32/build/config.w32:1.40.2.8.2.10.2.11 php-src/win32/build/config.w32:1.40.2.8.2.10.2.12 --- php-src/win32/build/config.w32:1.40.2.8.2.10.2.11 Tue Mar 18 17:10:20 2008 +++ php-src/win32/build/config.w32 Thu Mar 20 15:03:20 2008 @@ -1,5 +1,5 @@ // vim:ft=javascript -// $Id: config.w32,v 1.40.2.8.2.10.2.11 2008/03/18 17:10:20 sfox Exp $ +// $Id: config.w32,v 1.40.2.8.2.10.2.12 2008/03/20 15:03:20 sfox Exp $ // "Master" config file; think of it as a configure.in // equivalent. @@ -23,7 +23,7 @@ return 1; } } else { - if (version.match(/(\d+\.\d+\.\d+(\.\d+)?)/)) { + if (version.match(/(\d+\.\d+(\.\d+)?(\.\d+)?)/)) { return RegExp.$1; } }

« previous php.cvs (#49266) next »