Thank you for your reply, Oliver.

Oliver Heger wrote:

The interpretation of properties takes place in the addProperty() method 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.

You're right - it appears that the behaviour is determined by the inner class PropertiesTokenizer. By the looks of it the comma in my regular expression is causing the problem then.


As far as I understand, if you load a properties file "the ordinary way", the property will just be returned as a string. It would seem a shame though as Commons Configuartion is such a convenient interface.

Regards,
Tarlika

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



Reply via email to