D dmsherwood53 Apr 21 0 2025-02-02 #1 it would be uaeful if /T"trxt" had a not option ie /T"text1 ! "text2" would find lext1 if & only it occured on a line which didn't have text2
it would be uaeful if /T"trxt" had a not option ie /T"text1 ! "text2" would find lext1 if & only it occured on a line which didn't have text2
Alpengreis Jan 950 19 2025-02-02 #2 MAYBE that is possible already with fsearch regex (fsearch /e""), I started a thread here about that: Thread 'Negative lookahead with (fsearch) regex possible?' 2025-02-02 I tried to use a negative lookahead for fsearch regex (fsearch /e"") but wasn't successful till now. Is that possible? I tried with something like: fsearch /e"(?!REGEX_1)REGEX_2" ... with the Ruby syntax. So it should match only if REGEX_1 does not match; after checking REGEX_1, the search for REGEX_2 starts at the same position. I was inspired through thread FSEARCH to try that ...
MAYBE that is possible already with fsearch regex (fsearch /e""), I started a thread here about that: Thread 'Negative lookahead with (fsearch) regex possible?' 2025-02-02 I tried to use a negative lookahead for fsearch regex (fsearch /e"") but wasn't successful till now. Is that possible? I tried with something like: fsearch /e"(?!REGEX_1)REGEX_2" ... with the Ruby syntax. So it should match only if REGEX_1 does not match; after checking REGEX_1, the search for REGEX_2 starts at the same position. I was inspired through thread FSEARCH to try that ...