On 6/12/06, Tim Chase <[EMAIL PROTECTED]> wrote:
> I need to match lines using g// (not v//); those lines having > 'foo' and NOT having /)\s*;/ anywhere in the line. How do I > write such regex.Well, there are several ways to go about it. One would be to use Dr. Chip's "logipat" script: http://vim.sourceforge.net/scripts/script.php?script_id=1290
LogiPat does wonders. Thanks. For the record, :echo LogiPat('"foo"&!"bar"') produces: \%(.*foo.*\&^\%(\%(bar\)[EMAIL PROTECTED])*$\) Yakov