matcher

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher interface {
	Match(value string) bool
	MatchGroups(value string) map[string]string
}

Matcher is a regular expression matcher

func New

func New(expression string) (Matcher, error)

New creates a new regular expression matcher or returns error

func NewMust

func NewMust(expression string) Matcher

NewMust creates a new regular expression matcher or panics

Jump to

Keyboard shortcuts

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