Documentation ¶
Overview ¶
Package regex the regexp parser
Index ¶
- type Parser
- func (p Parser) GetElement(ctx *plugin.Context, content any, arg string) (string, error)
- func (p Parser) GetElements(ctx *plugin.Context, content any, arg string) ([]string, error)
- func (p Parser) GetString(_ *plugin.Context, content any, arg string) (string, error)
- func (p Parser) GetStrings(_ *plugin.Context, content any, arg string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct{}
Parser the regexp2 parser
func (Parser) GetElement ¶
GetElement gets the element of the content with the given arguments. sames as GetString.
func (Parser) GetElements ¶
GetElements gets the elements of the content with the given arguments. sames as GetStrings.
Click to show internal directories.
Click to hide internal directories.