From 7811c07e2340dbc51eb9fbe896439d9723ed3786 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Mon, 15 Sep 2003 13:11:57 +0000 Subject: [PATCH] pear install net_socket will work now - before it would only work with pear install Net_socket --- pear/PEAR/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php index e9f43ba2f61..680a1378a5b 100644 --- a/pear/PEAR/Common.php +++ b/pear/PEAR/Common.php @@ -26,7 +26,7 @@ require_once 'PEAR/Config.php'; // {{{ 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]+))?$/');