regexp

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This is not a public method package, it is recommended to use an external wrapper.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotCompiled error = errors.New("not compiled")

Functions

func Match

func Match(text, keyword string) bool

Types

type KeywordCompile

type KeywordCompile struct {
	Compile *regexp.Regexp
}

func (*KeywordCompile) Find

func (c *KeywordCompile) Find(text string) bool

func (*KeywordCompile) Init

func (c *KeywordCompile) Init(keyword string) (err error)

DO NOT USE!

This is not a public function!

Jump to

Keyboard shortcuts

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