commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From T E Schmitz <mail...@numerixtechnology.de>
Subject Re: [Re: [configuration] specify a regular expression as string property]
Date Tue, 25 May 2004 17:05:41 GMT
I tested the expression with HierarchicalDom4JConfiguration. It does not 
require any escaping:

<format>.{0,30}</format>

is interpreted as String.

Regards,

Tarlika Elisabeth Schmitz

Oliver Heger wrote:

> Which configuration class do you use for loading the XML file, 
> Dom4JConfiguration or HierarchicalDom4JConfiguration? I think the latter 
> one directly stores the values of XML elements and does not try to 
> detect any list structures.
> 
> AFAIK there is no special treatment of backslash characters in XML 
> files, so I would suppose that a single backslash should work.
> 
> Oliver
> 
> T E Schmitz schrieb:
> 
>>
>> Do you also happen to know how I would have to express this in an XML 
>> config file? Also with a double-backslash? I remember trying one 
>> backslash and that didn't escape 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