Old habit that I write in a non-capture when I'm doing grouping. In this case, after some *quick* testing, I realize that the negative lookahead doesn't appear to capture by default. In fact, even with benchmarking, the non-cap is effectively no more efficient than leaving it out.
In reply to Re^3: search for 'cat' not followed by 'dog'
by stevieb
in thread search for 'cat' not followed by 'dog'
by b4swine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |