regexp

package
v0.0.0-...-714bc2e Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IP ip 地址
	IP = regexp.MustCompile(`^(\d+\.){3}\d+$`)
	// HEX 十六进制
	HEX = regexp.MustCompile(`^(0x)?[0-9a-fA-F]+$`)
	// ServerName server name
	ServerName = regexp.MustCompile(`^[a-z][a-z0-9_]*$`)
	// Environment env name
	Environment = regexp.MustCompile(`^[A-Z][A-Z_]*$`)
)

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