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.
Click to show internal directories.
Click to hide internal directories.