You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- different group types (non-capturing, lookarounds, named captures, etc.)
118
+
- nested groups
119
119
- alternation
120
120
- character classes and escaped characters
121
-
-✅ Infers group optionality from quantifiers (`?`, `*`, `{n,m}`)
122
-
-✅ Validates flags
123
-
-✅ Supports dynamic (non-literal) pattern + flag inputs
124
-
## 📅 Project History
125
-
[](https://github.com/codpro2005/ts-regexp/releases/latest)
126
-
[](https://github.com/codpro2005/ts-regexp/commits/main/)
121
+
- Infers group optionality from quantifiers (`?`, `*`, `{n,m}`)
122
+
- Validates flags
123
+
- Supports dynamic (non-literal) pattern + flag inputs
124
+
## Alternatives
125
+
-**[arkregex](https://arktype.io/docs/blog/arkregex)** - A drop-in replacement for `new RegExp` that, in addition to this library, offers strict literal group typings, readable error messages with powerful validation and best practices suggestions. Maintained by [David Blass](https://github.com/ssalbdivad) (creator of ArkType) and actively updated.
126
+
-**[magic-regexp](https://regexp.dev)** - A compiled-away, type-safe alternative with a fluent, chainable API that makes regex patterns more readable and maintainable. Instead of cryptic regex syntax, you write `exactly('foo').or('bar')` which compiles to native RegExp at build time with no runtime cost. Part of the [unjs](https://github.com/unjs) ecosystem.
0 commit comments