Mikael,
On 20/10/05, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am not quite confident how you mean? Can you please show me? And what is
> the meaning of
>
> "
This is a numeric (hexadecimal) entity representing the double quote
character. You can use it to represent double quote characters inside
attribute values.
> I tried the following:
>
> <target name="regexp_test">
> <replaceregexp file="index.htm" match="^.*\(
> ""CUSTOM_APPL_REV"".*VALUE = ""[A-Z0-9]""\)" replace
> ="\1${product_number_html}\_${product_revision_html}"/>
> </target>
try this:
<replaceregexp file="index.htm">
<regexp pattern="^.*\("CUSTOM_APPL_REV"*VALUE =
"[A-Z0-9]"\)"/>
<substitution
expression="\1${product_number_html}\_${product_revision_html}"/>
</replaceregexp>
I find <regexp/> and <substitution/> easier to read.
--
cheers,
Jakob.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]