H, David
-Original Message-
From: Nicolas Vervelle [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 24, 2005 23:36
To: user@ant.apache.org
Subject: replaceregexp on multiple lines
Hi,
I have a file containing several times something like (xx is
different) :
...
For some of them (depending o
s a greedy quantifier. Try
'*?' (reluctant quantifier).
HTH, David
-Original Message-
From: Nicolas Vervelle [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 24, 2005 23:36
To: user@ant.apache.org
Subject: replaceregexp on multiple lines
Hi,
I have a file containing several times s
Hi,
I have a file containing several times something like (xx is
different) :
...
For some of them (depending on "xx"), I want to keep only the
...<.a> part.
For the others, I wan to completely remove them.
I tried this :
but the problem if pattern is first matched with the text between