# /cat(?:(?!\s*dog))/
I don't understand why you wrap (?!\s*dog) in a non-capturing group.
Give a man a fish: <%-{-{-{-<
In reply to Re^2: search for 'cat' not followed by 'dog'
by AnomalousMonk
in thread search for 'cat' not followed by 'dog'
by b4swine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |