re

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package re implements a regular expression module.

Index

Constants

This section is empty.

Variables

View Source
var ErrInputOfAwkMustBeString = errors.New("input of re:awk must be string")

ErrInputOfAwkMustBeString is thrown when re:awk gets a non-string input.

View Source
var Ns = eval.BuildNsNamed("re").
	AddGoFns(map[string]any{
		"quote":   regexp.QuoteMeta,
		"match":   match,
		"find":    find,
		"replace": replace,
		"split":   split,
		"awk":     awk,
	}).Ns()

Ns is the namespace for the re: module.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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