Documentation ¶
Overview ¶
正则表达式.
Index ¶
- func IsMatch(pattern string, src []byte) bool
- func IsMatchString(pattern string, src string) bool
- func MatchAllString(pattern string, src string) ([][]string, error)
- func MatchString(pattern string, src string) ([]string, error)
- func Replace(pattern string, replace, src []byte) ([]byte, error)
- func ReplaceString(pattern, replace, src string) (string, error)
- func Validate(pattern string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMatchString ¶
func ReplaceString ¶
正则替换(全部替换),字符串
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.