Rebhan, Gilbert wrote:
Hi,
Problem =
i have a property like that :
<bla>foobar</bla>
and i want it to convert to =
<bla>foobar</bla> before putting in
in a mailbody
i've tried =
<propertyregex property="foobar"
input="${auftrag.bemerkung}"
regexp="lt;"
replace="<"
casesensitive="false" />
but that is not accepted.
no, obviously not.
Remember that in XML < is turned into < before ant sees it, so you
need to escape the search and replace
strings:
<propertyregex property="foobar"
input="${auftrag.bemerkung}"
regexp="&lt;"
replace="<"
casesensitive="false" />
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]