Hacker News new | ask | show | jobs
by GoToRO 2 days ago
ai says [^] is not portable; I did not test it. Too bad, I'll stick to [\s\S].
1 comments

Too 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.
exactly what I said