Hi,
I have a file containing several times something like (xx is
different) :
<language lang="xx">
<a>...</a>
</language>
For some of them (depending on "xx"), I want to keep only the
<a>...<.a> part.
For the others, I wan to completely remove them.
I tried this :
<replaceregexp
match='<language lang="@{current.language}">(.*)
</language>'
replace='\1' flags='gm'>
<fileset dir="@{current.dir}" includes="index.*.html"/>
</replaceregexp>
but the problem if pattern is first matched with the text between the
first <language lang="xx"> of the file and the last </language> and not
closest one.
Is there an other way to replace the text ?
TIA,
Nicolas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]