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;
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php