utils

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchBytesCache

func MatchBytesCache(regex *re.Regexp, byteSlice []byte) bool

MatchBytesCache 正则表达式匹配字节slice,并缓存结果

func MatchStringCache

func MatchStringCache(regex *re.Regexp, s string) bool

MatchStringCache 正则表达式匹配字符串,并缓存结果

Types

This section is empty.

Jump to

Keyboard shortcuts

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