package coreregexp

import "github.com/purpleidea/mgmt/lang/core/regexp"

Index

Constants

const (
	// ModuleName is the prefix given to all the functions in this module.
	ModuleName = "regexp"
)

Functions

func Match

func Match(ctx context.Context, input []types.Value) (types.Value, error)

Match matches whether a string matches the regexp pattern.

Source Files

match.go regexp.go

Version
v0.0.0-20250405210053-9c1c587f7bc2 (latest)
Published
Apr 5, 2025
Platform
js/wasm
Imports
5 packages
Last checked
17 hours ago

Tools for package owners.