Sorry guys, that doesn't work either :-(

I had tried that before; and tried it again:

biz.objects.brand.regex=.{0\,30}
Object o = config.getProperty("biz.objects.brand.regex");
logger.info ("REGEX " + o + " " + o.getClass());

Message: REGEX [.{0, 30}] class java.util.ArrayList


Regards,


Tarlika


Oliver Heger wrote:


Yes, you are right. A backslash should do the trick.


Tatu Vanhanen schrieb:


The PropertiesTokenizer lets you escape commas with a backslash ('\'). So
the getString() should return a regular expression string with the commas,
right?


So have you tried
first.name.pattern=.{0\,30}


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to