Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher string
Matcher is an alias of a string that can contain specific variable instructsions to be replaced when calling the 'String' function. This alias provides the 'Match' function, which returns a Regexp struct that will match any value generated.
func (Matcher) Match ¶
Match returns a valid Regexp struct that is guaranteed to match any string generated by the Matcher's 'String' function.
func (Matcher) MatchEx ¶
MatchEx returns a valid Regexp struct that is guaranteed to match any string generated by the Matcher's 'String' function. MatchEx returns an inverse matcher if the bool is false.
func (Matcher) Raw ¶
Raw returns the raw string value of this Matcher without preforming any replacements.