December 11, 2008 at 6:45 pm #6738
owilsky
Participant
(?<!**) is negative lookbehind.
I am looking for the word “TEST”, but not if there is ** in front of it. Between ** and TEST may be spaces.
This is for our programming language where ** marks a comment.
So I am looking for TEST which is not commented out.