yurls

package module
v0.0.0-...-e347acc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: MIT Imports: 4 Imported by: 0

README

yurls

Extract urls from text using regular expressions. Requires Go 1.22 or later.

import "github.com/opentreehole/yurls"

func main() {
	findUrls := yurls.Parse("https://example.com foo bar") // []string{"https://example.com"}
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(content string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL