rx

package
v1.19.25 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Spaces = regexp.MustCompile("\\s")
	Email  = regexp.MustCompile("[a-z0-9._%+\\-]+@[a-z0-9.\\-]+\\.[a-z]{2,6}")
	Nums   = regexp.MustCompile("[0-9]+")
	INN    = regexp.MustCompile("\\s[0-9]{10}\\s")
	KPP    = regexp.MustCompile("\\s[0-9]{9}\\s")
	OGRN   = regexp.MustCompile("\\s[0-9]{13}\\s")
	Phone  = regexp.MustCompile(
		"(\\+7|7|8)[\\s\\-]?\\(?[489][0-9]{2}\\)?[\\s\\-]?[0-9]{3}[\\s\\-]?[0-9]{2}[\\s\\-]?[0-9]{2}")
)

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