reg

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Brace 匹配花括号内的字符串`{xxx}`,常用于字符串格式化替换
	Brace = `{([^}]+)}`
	// CamelCase 匹配短连接字符`-`,常用于转成驼峰大写
	CamelCase = `-+(.)?`
	// CommandParams 匹配命令行参数,用于按空格分割(不包括引号内的空格)
	CommandParams = `"([^"]*?)"|(\S+)`
)

正则表达式

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