Huh, using Rust's regex engine (without beckreferences and lookarounds) to achieve ReDoS immunity - nice idea 👍
It's incredible what the JS ecosystem can do nowadays, including seamlessly integrate other languages like that.
Yeah, Rust has a really good path to WASM for use in the JS ecosystem. I did similar with an html sanitization library a couple years ago and it ran about 5x the speed of a similar JS library at the time.