commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Leland <rlel...@apache.org>
Subject Re: [Validator] Is getDelimitedRegExp() really needed
Date Wed, 30 Apr 2003 21:16:50 GMT
David Graham wrote:
> There is a method ValidatorUtil.getDelimitedRegExp(String) that simply 
> puts a / on both sides of the given string (ie. /regex/).  Do we really 
> need this method?  It's a lot more code to use it than to just put the 
> /s on yourself.

If the delimiter was to change to say '@' then having a method would
make sense. To make that usefull there should be a setDelimiter() method 
in the Utils. Otherwise, sure deleter/deprecate it.

-Rob



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


Mime
View raw message