tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@apache.org>
Subject Re: Tomcat 7 & regex
Date Sat, 25 Dec 2010 01:49:08 GMT
+0.5 - I wonder if in some cases - it may be preferable to use a 
property called split which lets the user define the separator which we 
can pass to String.split(). [Which OTOH may be more confusing (yet 
powerful) since the user is using a regex to split get a list of regex]

-Tim

On 12/24/2010 1:34 PM, Mark Thomas wrote:
> There are a number of configuration properties defined as "comma
> separated regular expressions". As someone pointed out at at ApacheCon
> that is a little odd. It stops "," being used in an expression and is
> inefficient.
>
> Having just been bitten by this while setting up the new Jira instance,
> I intend change all properties that take regex in Tomcat 7 to use a
> single regex. This will simplify the code, simplify configuration and
> make the regex processing faster.
>
> I probably won't get around to actually doing this until the new year.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message