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-20250322185616-c50a578426f1 (latest)
Published
Mar 22, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
4 days ago

Tools for package owners.