I would like to remove lines from a log file.  I'm able to remove all the
 text from lines that match my regex, however the an empty line remains for
 each of these matches.

 I'm using jdk1.4.0, and in my CLASSPATH I has
 D:\java\jakarta-oro-2.0.6\jakarta-oro-2.0.6.jar

 <replaceregexp
    byline="true"
    flags="i,s"
    match="^.*\.(gif|jpg|js|ram)\^.*"
    replace="">
    <fileset refid="unzippedfiles" />
   </replaceregexp>

 Any suggestions?

 P.S. I also had a lot of trouble doing a negation match.  For
 example, I was originally tried:
 ^.*\.[^(process|tem|htm|html)]\^.*$

 By a process of elimination I found that once [] was added, the resulting
 matches didn't seem to make sense.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to