regexp

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile added in v1.26.0

func Compile(keyword string) (*regexp.KeywordCompile, error)

Use the compilation method of regexp to find whether the keyword exists.

func Find added in v1.26.0

func Find(text, keyword string) bool

Use the regexp method to find whether a keyword exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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