D'oh! Perhaps we do need a notcontains element as well. I will resend the patch with the additional element. Or perhaps, regex gurus can tell how to search for strings that do not contain a pattern.
Thanks, Diane, for pointing it out. Magesh On Tue, 16 Oct 2001 Diane Holt wrote : > --- Magesh Umasankar <[EMAIL PROTECTED]> wrote: > > <!-- > > Include xml files that contain the text foo > and ABC and > > does not contain the text bar (case doesn't > matter) > > --> > > <include name="**/*.xml"> > > <contains text="foo"/> > > <contains text="^bar" ignorecase="yes"/> > > I would expect that last line to find files that have > lines that begin > with "bar" -- I thought using the caret as "not" was > only true inside > brackets (ie., [^bar]). > > Diane > > ===== > ([EMAIL PROTECTED]) > > > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.com
