Are you sure INPUT_TEXT is set? I've used propertyregex with properties
and it never took the string literal of the property name, curly braces
and $ sign... You might echo INPUT_TEXT before the call to propertyregex
to ensure you are, in fact, setting that property...
On Tue, 24 Nov 2009, durbans wrote:
durbans wrote:
<propertyregex property="OUTPUT_PROPERTY"
input="${INPUT_TEXT}"
regexp="????????"
select="\2"
casesensitive="true" />
Sorry I found that I have a bit different problem
: How can I use a variable in input parameter ?
It seems that if I write
<propertyregex property="OUTPUT_PROPERTY"
input="${INPUT_TEXT}"
the task get the string "${INPUT_TEXT}" and NOT the value contained in the
variable.
--
View this message in context:
http://old.nabble.com/Regular-expression-in-%3Cpropertyregex%3E-tp26498126p26498429.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-890-8117 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
Architect Keros http://sourceforge.net/projects/keros
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org