xregex

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMatchArray

func GetMatchArray(str, regex string) []string

func GetMatchList

func GetMatchList(str, regex string) [][]string

func GetMatchStr

func GetMatchStr(str, regex string) string

func ReplaceAll

func ReplaceAll(srcStr, regex, repStr string) string

func ReplaceAllFunc

func ReplaceAllFunc(srcStr string, regex string, repFun func(string) string) string

func ReplaceFirst

func ReplaceFirst(srcStr, regex, repStr string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL