commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <heg...@med.uni-marburg.de>
Subject Re: [Re: [configuration] specify a regular expression as string property]
Date Thu, 22 Apr 2004 06:48:24 GMT
Yes, you are right. A backslash should do the trick. Must have been blind...

Oliver

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}
> 
> 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
> 
> 


-- 
Dipl.-Inform. Oliver Heger
Zentrale Informationsverarbeitung (ZIV) / Bereich Anwenderverfahren
Klinikum der Philipps-Universität Marburg
Bunsenstraße 3,
D-35037 Marburg
Tel: +49 6421 28-66592
mailto:oliver.heger@med.uni-marburg.de

---------------------------------------------------------------------
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