5 ms·ai says [^] is not portable; I did not test it. Too bad, I'll stick to [\s\S].by GoToRO 3mo agoai says [^] is not portable; I did not test it. Too bad, I'll stick to [\s\S].spiesd 3mo agoToo bad, indeed. It's well-defined in javascript (and thus, appropriate in this admittedly niche context). It's non-portable across different regex engines, yes.GoToRO 3mo agoexactly what I said