cockroach: github.com/cockroachdb/cockroach/pkg/cmd/urlcheck/lib/urlcheck Index | Files

package urlcheck

import "github.com/cockroachdb/cockroach/pkg/cmd/urlcheck/lib/urlcheck"

Index

Package Files

urlcheck.go

Constants

const URLRE = `https?://[^ \t\n/$.?#].[^ \t\n"<]*`

URLRE is the regular expression to use to extract URLs from the input stream. Source: https://mathiasbynens.be/demo/url-regex

func CheckURLsFromGrepOutput Uses

func CheckURLsFromGrepOutput(cmd *exec.Cmd) error

CheckURLsFromGrepOutput runs the specified cmd, which should be grepping using the URLRE regular expression defined above.

Package urlcheck imports 12 packages (graph) and is imported by 1 packages. Updated 2019-07-21. Refresh now. Tools for package owners.