pcre

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	*PCRE
	// contains filtered or unexported fields
}

func (*Generator) Generate

func (p *Generator) Generate() []byte

type Matcher

type Matcher struct {
	*PCRE
	// contains filtered or unexported fields
}

func (*Matcher) Match

func (p *Matcher) Match(content []byte) []data.Matched

type PCRE

type PCRE struct {
	// contains filtered or unexported fields
}

func ParsePCREStr

func ParsePCREStr(pattern string) (*PCRE, error)

func (*PCRE) Generator

func (p *PCRE) Generator() (*Generator, error)

func (*PCRE) IgnoreCase

func (p *PCRE) IgnoreCase() bool

func (*PCRE) IgnoreEndNewline

func (p *PCRE) IgnoreEndNewline() bool

func (*PCRE) Matcher

func (p *PCRE) Matcher() (*Matcher, error)

func (*PCRE) Modifier

func (p *PCRE) Modifier() modifier.Modifier

func (*PCRE) Relative

func (p *PCRE) Relative() bool

func (*PCRE) StartsWith

func (p *PCRE) StartsWith() bool

Jump to

Keyboard shortcuts

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