compromise icon indicating copy to clipboard operation
compromise copied to clipboard

Feature request: any word except

Open thegoatherder opened this issue 2 years ago • 0 comments

Consider the match-syntax pattern:

before !(not|no|maybe|perhaps){0,9} after

Which could be described as: "the word before followed by 0-9 words that can be anything except the words (not|no|maybe|perhaps), followed by the word after"

In this instance the (not|no|maybe|perhaps) is similar to a dot . in match-syntax, except it is explicitly excluding some words.

The same should work for a single word:

!not{2,5}

Described as: "any word 2-5 times except the word "not"

thegoatherder avatar Jul 07 '22 14:07 thegoatherder