commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From T E Schmitz <m...@numerixtechnology.de>
Subject [configuration] specify a regular expression as string property
Date Sat, 17 Apr 2004 23:39:20 GMT
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