> It follows the general form of a negative line search for embedded
> <search>:
>
>  /^\%(.*[<limit0>.*]<search>[.*<limit1>]\)[EMAIL PROTECTED]
>
> For example, to match a line that contains "foo" but does not contain
> "bar" between "big" and "tummy":
>
>  /\%(.*big.*bar.*tummy\)[EMAIL PROTECTED]


Learn a lot more about regexp from this post. Thanks!

Sorry, I missed the ^ anchor:

   /^\%(.*big.*bar.*tummy\)[EMAIL PROTECTED]


Just a question, why it is necessary to have the ^ anchor? Isn't .*
already includes the characters start from the beginning of the line?
Sorry if I'm asking a stupid one....

--
Ed

Reply via email to