ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Fix <jakob....@gmail.com>
Subject Re: <replaceregexp>
Date Thu, 20 Oct 2005 13:31:39 GMT
Mikael,


On 20/10/05, Mikael Petterson (KI/EAB) <mikael.petterson@ericsson.com> wrote:
> Hi,
>
> I tried the following;
>
>  <replaceregexp file="index.htm" match="^.*\("CUSTO_APPL_REV".*VALUE = "[A-Z0-9]"\)"
  replace ="\1${product_number_html}\_${product_revision_html}"/>
>
> but the " seems to mess up the match.

use &#34; to escape double quote characters.

HTH

--
cheers,
Jakob.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message