-
Notifications
You must be signed in to change notification settings - Fork 84
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
WIP: Remove 'regex-posix' dependency #289
base: master
Are you sure you want to change the base?
Conversation
Reasons for removing
One solution is to, in addition to the work here, move |
As described in the docs, this change requires a user who truly does want to use regexes to write: import Text.Regex.Posix
assertBodyMatches "^Hello" (=~ "^Hello") r instead of assertBodyContains "^Hello" r |
I'm broadly in favor of this kind of dependency pruning. The API breakage gives me pause. But it also doesn't seem like a super commonly used function. Pinging @gregorycollins. |
@tom-audm fwiw, the 3rd and 4th bullet points are currently being addressed... ;-) |
It will break test code, but I'm probably okay with it? We'll need a major version bump unfortunately |
Just chiming in here because I wanted to build more conveniently on windows. Have you considered replacing the |
I think the consensus is that we're just going to get rid of this dependency (and the function) altogether |
Yeah, I'm in favor of this change. |
WIP, please don't merge yet!