That sounds like a good idea. Espcially if you make the default behaviour
whatever the current behaviour is.

This will ensure backwards compatibility (with no changes to existing code).

If you want the extra flexibility the regexp option gives you then you add
it to your code and chaneg the expressions accordingly.



> -----Original Message-----
> From: AOLserver Discussion [mailto:[EMAIL PROTECTED] Behalf
> Of Brett Schwarz
> Sent: Friday, March 28, 2003 3:58 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [AOLSERVER] ns_register_proc
>
>
> I agree, but maybe we can add a option to the command, similar to what
> Tcl's switch and lsearch commands do (i.e. -glob -regexp, etc)
>
>     --brett
>
> On Fri, 2003-03-28 at 07:43, Peter M. Jansson wrote:
> > > Why can't we just use POSIX regular expressions for all of
> > > the ns_register* procedures?
> >
> > I'd be concerned about REs degrading performance.  REs are usually
> > significantly slower than glob matches, and the registered proc
> matcher will
> > be called a _lot_.
> >
> >
> > --
> > AOLserver - http://www.aolserver.com/
> > To Remove yourself from this list:
> http://www.aolserver.com/listserv.html
> > List information and options: http://listserv.aol.com/
> --
> Brett Schwarz <[EMAIL PROTECTED]>
> Very Little
>
>
> --
> AOLserver - http://www.aolserver.com/
> To Remove yourself from this list: http://www.aolserver.com/listserv.html
> List information and options: http://listserv.aol.com/
>


--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list: http://www.aolserver.com/listserv.html
List information and options: http://listserv.aol.com/

Reply via email to