this is probably just a typo in your email, but you have "fasle" instead of "false"
Charlie > -----Original Message----- > From: Tibor Strausz [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 16, 2002 9:08 AM > To: 'Ant Users List' > Subject: RE: replaceregexp remove line > > > if i do this > <replaceregexp file="Document.txt" > match="def.*\n" > replace="" > byline="fasle" /> > > on this > --- > abc > def > geh > --- > i get > --- > abc > geh > --- > but i expected the regexp to be gready so that i would get > --- > abc > --- > > tibi > > > > > ps emailing by my self but now would like some input :-) > > > -----Original Message----- > > From: Tibor Strausz [mailto:[EMAIL PROTECTED]] > > Sent: Friday, August 16, 2002 3:01 PM > > To: 'Ant Users List' > > Subject: RE: replaceregexp remove line > > > > > > this works > > :-) > > <replaceregexp file="${src}" > > match="oldstuff\n" > > replace="" > > byline="fasle" /> > > > > > -----Original Message----- > > > From: Tibor Strausz [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, August 16, 2002 9:37 AM > > > To: Ant Users List (E-mail) > > > 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: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
