ts-regex-builder
ts-regex-builder copied to clipboard
v1.x roadmap
Regex features
- [x] interoperability with RegExp literals
- [x] negated character class escapes (
\W
,\D
,\S
) - [x] lazy regex quantifiers
- [x] lookahead assertions
- [x] lookbehind assertions
- [x] word boundary anchor (
\b
) - [x] named captures
- [x] named backreferences
- [ ] unicode character class escapes (
\u
,\U
) - [x] regex flag: dotAll
- [ ] regex flag: unicode
- [ ] regex flag: unicodeSets
- [x] regex flag: sticky
Patterns (new idea)
Goal: include some popular patterns so that users don't have to figure them out by themselves.
Each pattern should have two variants:
- finder - it should look for given pattern in a longer text. It does not have to be 100%, just 90% but should be fast.
- validator - it should validate if given string matches the pattern. It should be 99-100% correct. It typically will include
startOfString
andendOfString
to validate the whole string.
Patterns to implement:
- [ ] URL
- [ ] hashtag
Babel features
- [ ] Static DSL compilation (!)
Infrastructure
- [x] Documentation website (Docusaurus, Vocs, etc)
- [x] Code Coverage stats