Documentation
¶
Index ¶
- func DelFirst(regex, content string) (string, error)
- func Escape(input string) string
- func ExtractMulti(regex, content string, template string) (string, error)
- func FindAll(regex, content string) ([]string, error)
- func Get(regex, content string, groupIndex int) (string, error)
- func GetFirstNumber(content string) (int, error)
- func IsMatch(regex, content string) (bool, error)
- func ReplaceAll(content, regex, replacementTemplate string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractMulti ¶
ExtractMulti 抽取多个分组并拼接
func ReplaceAll ¶
ReplaceAll 替换所有匹配文本
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.