Closed losmurfs closed 9 years ago
If I want to highlight tree but not the tree in trees, how would I do that? I tried \btree\b but that didn't highlight anything.
It work perfectly.
Didn't you forget to double escape the word boundary ?
For regex stored as string you must use words: ['\\btree\\b']
words: ['\\btree\\b']
If I want to highlight tree but not the tree in trees, how would I do that? I tried \btree\b but that didn't highlight anything.