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

Parenthesis are included as part of url #42

Closed
davidmatas opened this issue Jul 11, 2017 · 1 comment
Closed

Parenthesis are included as part of url #42

davidmatas opened this issue Jul 11, 2017 · 1 comment

Comments

@davidmatas
Copy link

davidmatas commented Jul 11, 2017

Hi!

I'm trying to extract links from a text like this:

const text = "Hello this is my url (https://www.miurl.org/en/test) googbye"
text.match(urlRegex({strict: false}) // ["https://www.uclg.org/en/node/27407)"]

It includes the last parenthesis as part of the link

@kevva
Copy link
Owner

kevva commented Jul 11, 2017

#35

@kevva kevva closed this as completed Jul 11, 2017
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