@surfactant, can you clarify the context that you’re running this in? Based on your previous posts I assumed you were talking about a Userscript in the toolbox but your example works fine there for me.
People using regex should know about “ (?!<A>) ” and “ (?<!<A>) ”.
I wouldn’t say this is a true statement. Look behind assertions weren’t supported in JS until recently it looks like. May not have even been added to the Mozilla JS interpreter until 2019? Not sure.
Any way, we’re running on Mozilla under the hood and an out dated version so look behind assertions won’t be supported in any JS running within Komodo I’m afraid.
To answer your possible next question: no, we won’t likely fix it. This should clarify why:
Hi @careyh Thank you for your information! Let me add a temporary look-behind mark to get the work done.
Komodo is great for my current workflow of tweaking html files. But to speak frankly, it’s difficult to find enough official help information sometimes.
I wonder what’s the industry-standard tool for handling large amount of html files. I mean something like Microsoft Word with VBA for doc files. Not sure whether here is the right place for such a question.