On Tue, 30 Oct 2001 18:10:30 +0100, allan wrote: > (?!.*lookaround) # followed by 0 or 1 more chars as long as we >dont >match lookaround
You should forbid quotes and spaces (since the quotes are optional) in the lookahead, and perhaps even some more characters. (?![^"\ ] *lookaround) -- Bart.