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

Using standard schemes for matching #19

Closed
skhare-r7 opened this issue Sep 20, 2017 · 2 comments
Closed

Using standard schemes for matching #19

skhare-r7 opened this issue Sep 20, 2017 · 2 comments

Comments

@skhare-r7
Copy link
Contributor

How do I use the known standard schemes as an argument to xurls.StrictMatchingScheme? What is the proper way to do this?

@mvdan
Copy link
Owner

mvdan commented Sep 20, 2017

Hi - I haven't integrated this yet with the API. Sorry I'm taking a bit long, but I'm just now moving to a new place and things are a bit hectic.

In fact, I had done a bit of work towards this, but forgot to push. I'll push the changes in a moment.

@mvdan mvdan closed this as completed in efff18d Jan 25, 2018
@mvdan
Copy link
Owner

mvdan commented Jan 25, 2018

@skhare-r7 please have a look at the new API - basically, just using Strict() and Relaxed() should do it for you. StrictMatchingScheme(AnyScheme) is like the old Strict.

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