Closed exec228 closed 4 years ago
how about r:[^-]tank
That's cool roundabout for one symbol [set] :-) Nice for "-tank" in my particular case. Thanks for reminding me about simpler solution :-D However, do you intend into backreferences?
I think you mean "Negative Lookbehind", right? It works for me
Also backreferencing
just a reminder to make sure your word separator is space.
Sorry, you are correct, the word is "look-behind". https://en.wikipedia.org/wiki/Ordnance_QF_17-pounder plenty of both keywords (http://prntscr.com/rmfupm) Formula I have inserted: r:(?<!-)tank Screenshot http://prntscr.com/rmftcw No highlighting? What am I doing wrong?
since the color is red it means your browser rejected the regex creation. Check the console for errors. It looks like this is not supported by your browser.
http://prntscr.com/rmgb89 Hmm... Any chances you know how to fix it? Firefox 74.0 (64-bit), Windows 8.1x64b9600
can you run the following code on the browser console:
/(?<!-)tank/.test('anti-tank')
Seems like it is not yet supported by FF https://stackoverflow.com/questions/49816707/firefox-invalid-regex-group
Sigh... Any other ways, external regex libs for Fx?
I dont think so. It is built into the Gecko engine.
Alas, must close the question because of a base constraint. Thank you!
Hello! Thanks for this add-on! However, I have a question. How can I highlight "tank" without "anti-tank"? Does this add-on support r:(?<!-)tank ?