Remix.run Logo
reichstein 2 hours ago

Just because it's my windmill to tilt at: `[\s\S]` can be written shorter and more precisely as `[^]`.

MomsAVoxell 2 hours ago | parent | next [-]

[\s\S] vs. [^]

A quixotic windmill tilt if ever I saw one.

GoToRO an hour ago | parent | prev [-]

ai says [^] is not portable; I did not test it. Too bad, I'll stick to [\s\S].