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

Feature request: Some way to get invalid regex error message #9

Open
pian0 opened this issue Dec 20, 2018 · 0 comments
Open

Feature request: Some way to get invalid regex error message #9

pian0 opened this issue Dec 20, 2018 · 0 comments

Comments

@pian0
Copy link

pian0 commented Dec 20, 2018

My app takes regular expressions from users. There's no affordance for getting errors back when a regular expression is invalid. E.g. "(.*" should communicate an error back from the browser's regex implementation. It would be nice if there were a Regex.fromString version that returned a Result instead of a Maybe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant