commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tatu Vanhanen" <tatu.vanha...@graftor.fi>
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,
right?

So have you tried
first.name.pattern=.{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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message