I've read regex tutorials but still have not found the answer to this question.
How do you do a prel-style negation so that a search result is omitted if a specified pattern of characters (string) is found *anywhere* in a list of words? Example: Find exp1 but skip if exp2 is also found in the same string.
[KEYWORDS:]
exp1something /*found, exp1 found, but not exp2
exp1somethingexp2 /*skipped, exp1 found but exp2 also found
someexp1thing /*found
somethingexp1 /*found
exp2exp1 /skipped, because the string exp2 was found
Could it be just (!exp2)
How do you do a prel-style negation so that a search result is omitted if a specified pattern of characters (string) is found *anywhere* in a list of words? Example: Find exp1 but skip if exp2 is also found in the same string.
[KEYWORDS:]
exp1something /*found, exp1 found, but not exp2
exp1somethingexp2 /*skipped, exp1 found but exp2 also found
someexp1thing /*found
somethingexp1 /*found
exp2exp1 /skipped, because the string exp2 was found
Could it be just (!exp2)