regexes

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Md5Regex for validating MD5
	Md5Regex = rgx.MustCompile(makeCaseInsensitive(md5Pattern))
	// Sha1Regex for validating SHA1
	Sha1Regex = rgx.MustCompile(makeCaseInsensitive(sha1Pattern))
	// Sha224Regex for validating SHA224
	Sha224Regex = rgx.MustCompile(makeCaseInsensitive(sha224Pattern))
	// Sha256Regex for validating SHA256
	Sha256Regex = rgx.MustCompile(makeCaseInsensitive(sha256Pattern))
	// Sha512Regex for validating SHA512
	Sha512Regex = rgx.MustCompile(makeCaseInsensitive(sha512Pattern))
)
View Source
var DomainRegex = rgx.MustCompile(makeCaseInsensitive(domainPattern))

DomainRegex for validating domains

View Source
var MacRegex = rgx.MustCompile(makeCaseInsensitive(macPattern))

MacRegex for validating MAC Addresses

View Source
var URLRegex = rgx.MustCompile(makeCaseInsensitive(urlPattern))

URLRegex for validating URL data

View Source
var UUIDRegex = rgx.MustCompile(makeCaseInsensitive(uuidPattern))

UUIDRegex for validating UUID data

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