matcher

package
v0.0.0-...-041bb18 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoPcre = false

Functions

This section is empty.

Types

type Flags

type Flags int
const (
	NoFlags    Flags = 0
	IgnoreCase Flags = 1 << iota
)

type Matcher

type Matcher interface {
	Matches(target []byte) [][]int
	String() string
}

func Compile

func Compile(pattern string, flags Flags) (Matcher, error)

func CompileGo

func CompileGo(pattern string, flags Flags) (Matcher, error)

func CompilePcre

func CompilePcre(pattern string, flags Flags) (Matcher, error)

Jump to

Keyboard shortcuts

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