Re: replaceregexp on multiple lines

2005-03-28 Thread Nicolas Vervelle
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

RE: replaceregexp on multiple lines

2005-03-27 Thread David Resnick
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

replaceregexp on multiple lines

2005-03-24 Thread Nicolas Vervelle
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