Documentation
¶
Index ¶
Constants ¶
View Source
const MoreTimes = 18
MoreTimes Maximum omitted default value
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Op ¶
type Op uint8
An Op is a single regular expression operator.
const ( OpLiteral Op OpRepeat OpAlternate )
Operators are listed in precedence order, tightest binding to weakest.
type Regexps ¶
type Regexps []*Regexp
Regexps syntax tree translated from regexp/syntax
func MustCompile ¶ added in v0.3.0
MustCompile is like Compile but panics if the expression cannot be parsed. It simplifies safe initialization of global variables holding compiled regular expressions.
func NewRegexps ¶ added in v0.3.0
NewRegexps returns regexps translated from regexp/syntax
Source Files
¶
Click to show internal directories.
Click to hide internal directories.