Skip to content

Shorthand: unsafeRegex :: String -> RegexFlags -> Regex #73

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

Closed
no-longer-on-githu-b opened this issue Dec 18, 2016 · 1 comment
Closed

Comments

@no-longer-on-githu-b
Copy link
Contributor

no-longer-on-githu-b commented Dec 18, 2016

Hard-coded regexes are so incredibly common, and there is no sensible thing to do other than crash when you got them wrong (except compiler error/warning? 😸), so I think this short-hand is very useful?

@paf31
Copy link
Contributor

paf31 commented Dec 18, 2016

Yes, agreed.

@paf31 paf31 closed this as completed in #74 Dec 25, 2016
paf31 pushed a commit that referenced this issue Dec 25, 2016
* Add unsafeRegex

Fixes #73.

* Make purescript-partial a non-dev dependency

* Move unsafeRegex to Unsafe module
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

2 participants