Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create regex helper module #91

Open
pskfyi opened this issue May 26, 2023 · 0 comments
Open

Create regex helper module #91

pskfyi opened this issue May 26, 2023 · 0 comments
Labels
⚡️ effort:medium enhancement New feature or request 🌶️ spicy Seems exciting to work on 🙏 wanted We have a use case for this

Comments

@pskfyi
Copy link
Owner

pskfyi commented May 26, 2023

Most programmers struggle to read regex. It'd be nice to have a mini library for constructing regexes in a combinatoric manner similar to the parser combinator work.

// before
/(\d+)([^X])/

// after, example
digit.oneOrMore.then(not("X"))
@pskfyi pskfyi added the enhancement New feature or request label May 26, 2023
@pskfyi pskfyi changed the title Create regex helper Create regex helper module Jun 8, 2023
@pskfyi pskfyi added 🌶️ spicy Seems exciting to work on 🙏 wanted We have a use case for this ⚡️ effort:medium labels Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚡️ effort:medium enhancement New feature or request 🌶️ spicy Seems exciting to work on 🙏 wanted We have a use case for this
Projects
None yet
Development

No branches or pull requests

1 participant