regexp-to-arkregex
Migrate new RegExp() constructor calls to arkregex's type-safe regex() function.
What it does
This codemod automatically transforms your code to use arkregex, a type-safe regex library.
Transformation Example
Before:
typescript
After:
typescript