You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Tibor Strausz <Ti...@tridion.com> on 2002/08/16 09:37:24 UTC

replaceregexp remove line

can i remove a line using replaceregexp??
<replaceregexp file="${src}" 
	match="oldstuff\s*" 
	replace="" />
i still and up with an empty line

tibi


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: replaceregexp remove line

Posted by Diane Holt <ho...@yahoo.com>.
--- Lou Fox <lo...@cloud9.net> wrote:
> Did you ever get this working?  I had a similar problem a month or so
> ago. And a new batch got created that solved my problems.  I believe
> the new batch was put into 1.5.1, but I'm not sure

Actually, I don't think it's regarded as a bug, so I don't think it'll get
into 1.5.1. (Note: I haven't actually put it through for 1.6 yet, either,
though, since I've been ridiculously busy with work. I hope to get back to
my Ant to-do list sometime soon -- once I manage to clear through the 357
unread ant-* messages in my mailbox :)

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: replaceregexp remove line

Posted by Lou Fox <lo...@cloud9.net>.
Did you ever get this working?  I had a similar problem a month or so ago.
And a new batch got created that solved my problems.  I believe the new
batch was put into 1.5.1, but I'm not sure

----- Original Message -----
From: "Tibor Strausz" <Ti...@tridion.com>
To: "Ant Users List (E-mail)" <an...@jakarta.apache.org>
Sent: Friday, August 16, 2002 3:37 AM
Subject: replaceregexp remove line


>
> can i remove a line using replaceregexp??
> <replaceregexp file="${src}"
> match="oldstuff\s*"
> replace="" />
> i still and up with an empty line
>
> tibi
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>