matcher

package
v0.0.0-...-f6e69a7 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 4 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