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

Relqxed does not recognized @! in the end of url #78

Open
t4rest opened this issue Apr 5, 2024 · 1 comment
Open

Relqxed does not recognized @! in the end of url #78

t4rest opened this issue Apr 5, 2024 · 1 comment

Comments

@t4rest
Copy link

t4rest commented Apr 5, 2024

text := "url - test.com/?req=111qq1111#@!."
extractor := xurls.Relaxed()
fmt.Println(extractor.FindAllString(text, -1)) // []

Expected - test.com/?req=111qq1111#@!
Actual - test.com/?req=111qq1111#

@t4rest t4rest closed this as completed Apr 5, 2024
@t4rest t4rest reopened this Apr 5, 2024
@mvdan
Copy link
Owner

mvdan commented Jan 2, 2025

Feel free to send a PR with a test.

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