[wplug] OT: Emacs, regular expressions and syntax highlighting

George Larson george.g.larson at gmail.com
Wed Apr 3 15:55:39 EDT 2013


On Wed, Apr 3, 2013 at 3:01 AM, Brian Sammon <
wplug-list at brisammon.fastmail.fm> wrote:

>
> I don't think this will work the way he wants -- because you have it doing
> (?<!no ) OR (?<!no evidence of ) .
>
> I think the following would work:
>   (?<!no(?: evidence of)? )foo
>
>
In brief tests on RegExr, that didn't work for me.  This seems to work:

(?<!no )(?<!no evidence of )foo


More information about the wplug mailing list