commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From T E Schmitz <m...@numerixtechnology.de>
Subject [Re: [configuration] specify a regular expression as string property]
Date Wed, 21 Apr 2004 10:17:20 GMT
I realize that the question below was rather too specific for anyone to 
know the answer off-hand.

But does anyone know what determines whether a property is interpreted 
as String, Float, Integer or ArrayList?


Regards,

Tarlika Elisabeth Schmitz


-------- Original Message --------
Subject: [configuration] specify a regular expression as string property
Date: Sun, 18 Apr 2004 00:39:20 +0100
From: T E Schmitz <mail@numerixtechnology.de>
Reply-To: mail@numerixtechnology.de
To: commons-user@jakarta.apache.org

Hello,

I would like to specify a regular expression as a string property.
Example:
first.name.pattern=.{0,30}
or alternatively in an xml configuration file:
<pattern>.{0,30}</pattern>

Unfortunately this expression is interpreted as ArrayList. Is there any
way to escape it so that it will be interpreted as a String?


Any help is very much appreciated.
-- 


Regards,

Tarlika Elisabeth Schmitz



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