Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Params = op.MethodParams{
"Match": {"pattern", "s"},
"Find": {"pattern", "s"},
"FindAll": {"pattern", "s", "count"},
"FindSubmatch": {"pattern", "s"},
"FindAllSubmatch": {"pattern", "s", "count"},
"Replace": {"pattern", "s", "replacement"},
"ReplaceLiteral": {"pattern", "s", "replacement"},
"Split": {"pattern", "s", "count"},
}
Params maps Go method names to Starlark parameter name lists.
Functions ¶
func NewRegexpReceiver ¶
func NewRegexpReceiver(p *provider.Provider) *op.ReflectedReceiver
NewRegexpReceiver creates a wrapped regexp provider for Starlark consumption.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.