Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Regex ¶
Regex represents the nodes of the regex, which support printing a string, as well as transformation under derivative.
func NewConcat ¶
NewConcat creates a regex that accepts the concatenation of two regexes, taking into consideration the simplifiying equations.
func NewEpsilon ¶
func NewEpsilon() Regex
NewEpsilon creates a regex that only accepts the empty string.
Click to show internal directories.
Click to hide internal directories.