commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tatu Vanhanen" <>
Subject RE: [Re: [configuration] specify a regular expression as string property]
Date Thu, 22 Apr 2004 05:51:57 GMT
The PropertiesTokenizer lets you escape commas with a backslash ('\'). So
the getString() should return a regular expression string with the commas,

So have you tried{0\,30}

Could also be that I'm missing something important...

- Tatu V.

> > of AbstractConfiguration. For String properties it essentially boils
> > down to a special tokenizer class PropertiesTokenizer, which uses the
> > comma "," as delimiter to split the string into a list. If I don't miss
> > anything, I don't see a possibility to alter this behaviour, e.g. by
> > escaping the comma.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message