ts-regex-builder
ts-regex-builder copied to clipboard
Maintainable regular expressions for TypeScript and JavaScript.
### Summary ### Test plan
## Regex features - [x] interoperability with RegExp literals - [x] negated character class escapes (`\W`, `\D`, `\S`) - [x] lazy regex quantifiers - [x] lookahead assertions - [x] lookbehind...
**Is your feature request related to a problem? Please describe.** Create a generator that would take JS regex literal as an input and output a valid TS Regex Builder DSL...
**Is your feature request related to a problem? Please describe.** Provide regex patterns for common use cases like: - [ ] URL - [ ] email - [ ] hashtags...
Thoughts on using the [regex](https://github.com/slevithan/regex) library under the hood? This would allow offering some unique/powerful features, including [atomic groups](https://github.com/slevithan/regex#atomic-groups) and [subroutines](https://github.com/slevithan/regex#subroutines). No worries if you think it's not the right...