Re: Re: Remove PEAR_Common::validPackageName()
| From: | Martin Jansen | Date: | Thu, 13 Nov 2003 13:18:25 +0000 |
| Subject: | Re: Re: Remove PEAR_Common::validPackageName() | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-23580@lists.php.net to get a copy of this message | ||
On Thu Nov 13, 2003 at 02:0436PM +0100, Roman Neuhauser wrote:
> How about making it possible to swap in different package name
> validator?
I also thought of that. The easiest solution would be two add two new
command line options: --skip-name-test will completely skip the
validation, while --with-name-regex=<regex> will use the specified
regular expression instead of the defaultish one. This regex might even
be configured via "pear config-set".
--
- Martin Martin Jansen
http://martinjansen.com/