in reply to Re: grep for array-of-strings from an array-of-strings
in thread grep for array-of-strings from an array-of-strings

That'll match "this is a test". It needs to also contain 'another'. It's an AND boolean, not an OR boolean search...

-nuffin
zz zZ Z Z #!perl
  • Comment on Re: Re: grep for array-of-strings from an array-of-strings

Replies are listed 'Best First'.
Re: Re: Re: grep for array-of-strings from an array-of-strings
by Improv (Pilgrim) on Apr 10, 2003 at 04:27 UTC
    Oh.. if you want an AND, perhaps the look-ahead operator is what you want? I think it shouldn't be too hard to programmatically construct a regex with that style either..