-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Explore if could be possible handle regex expressions.
const test = voll('r[ae]d')
const output = test('red')
console.log(output) // => true
The strategy here is:
- Detect is the input text is a regex. Related: https://github.com/ljharb/is-regex
- If is a regex, calculate all the possibilities
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels