clojurescript

p-himik 2025-09-23T18:44:01.572089Z

> it's worth mentioning that (?i) is not a valid native JavaScript regex in the first place To me it sounds like good old GIGO.

2025-09-23T22:28:09.792249Z

Well - A usual rationale is that it is not worth the runtime milliseconds to be persnickety because it might be in someone's hot loop. But the compiler has time. On the other hand, the compiler is in Java and dores anyone really know what's acceptable as a JS regex? On the third hand, covertly making the rest of a (JS) line be treated as a comment sounds like the kind of surprise that could be a toehold for pranksters.

➕ 1