xurls icon indicating copy to clipboard operation
xurls copied to clipboard

Relaxed does not recognized @! in the end of url

Open t4rest opened this issue 1 year ago • 1 comments

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 avatar Apr 05 '24 20:04 t4rest

Feel free to send a PR with a test.

mvdan avatar Jan 02 '25 16:01 mvdan