in reply to Re: search for 'cat' not followed by 'dog'
in thread search for 'cat' not followed by 'dog'
# /cat(?:(?!\s*dog))/
I don't understand why you wrap (?!\s*dog) in a non-capturing group.
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: search for 'cat' not followed by 'dog'
by stevieb (Canon) on Jan 28, 2019 at 20:31 UTC | |
by haukex (Archbishop) on Jan 29, 2019 at 08:57 UTC |