Post

arkregex is ridiculously optimized. even expressions like this are inferred instantly. but what about the most extreme cases?🧵

2 reposts28 likes

we've been surprised by some of the real-world expressions it can handle, but you'll still hit the limits of typescript eventually, so what then?

arkregex is meant to be a zero-effort, drop-in replacement for new RegExp(). in the vast majority of cases, it makes your life easier. for the rest, just don't use it👍