cvs: php-src /pear/PEAR Common.php
| From: | Greg Beaver | Date: | Mon, 15 Sep 2003 13:11:58 +0000 |
| Subject: | cvs: php-src /pear/PEAR Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-12751@lists.php.net to get a copy of this message | ||
cellog Mon Sep 15 09:11:58 2003 EDT
Modified files:
/php-src/pear/PEAR Common.php
Log:
pear install net_socket will work now - before it would only work with pear install Net_socket
Index: php-src/pear/PEAR/Common.php
diff -u php-src/pear/PEAR/Common.php:1.107 php-src/pear/PEAR/Common.php:1.108
--- php-src/pear/PEAR/Common.php:1.107 Thu Sep 11 10:47:01 2003
+++ php-src/pear/PEAR/Common.php Mon Sep 15 09:11:57 2003
@@ -17,7 +17,7 @@
// | Tomas V.V.Cox <cox@idecnet.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Common.php,v 1.107 2003/09/11 14:47:01 cox Exp $
+// $Id: Common.php,v 1.108 2003/09/15 13:11:57 cellog Exp $
require_once 'PEAR.php';
require_once 'Archive/Tar.php';
@@ -26,7 +26,7 @@
// {{{ constants and globals
-define('PEAR_COMMON_PACKAGE_NAME_PREG',
'/^([A-Z][a-zA-Z0-9_]+|[a-z][a-z0-9_]+)$/');
+define('PEAR_COMMON_PACKAGE_NAME_PREG',
'/^([A-Za-z][a-zA-Z0-9_]+|[a-z][a-z0-9_]+)$/');
// XXX far from perfect :-)
define('PEAR_COMMON_PACKAGE_DOWNLOAD_PREG',
'/^([A-Z][a-zA-Z0-9_]+|[a-z][a-z0-9_]+)(-([.0-9a-zA-Z]+))?$/');