#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.