patterns

package
v0.0.47 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

package patterns contains various common patterns some regexps were extended from https://github.com/asaskevich/govalidator

Index

Constants

This section is empty.

Variables

View Source
var (
	URLRegexp           = regexp.MustCompile(fullUrl)
	DomainRegexp        = regexp.MustCompile(domain)
	IPv4Regexp          = regexp.MustCompile(ipv4)
	URLPort80Regexp     = regexp.MustCompile(urlPort80)
	URLPort443Regexp    = regexp.MustCompile(urlPort443)
	EmailRegexp         = regexp.MustCompile(email)
	CIDRRegexp          = regexp.MustCompile(cidr)
	CVEIdentifierRegexp = regexp.MustCompile(cveIdentifier)
	DualSpaceRegexp     = regexp.MustCompile(dualSpace)
	DecolorizerRegexp   = regexp.MustCompile(decolorizer)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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