regexp

package
v0.1.0-dev.20260306090209 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL