regexputil

package
v0.0.0-...-5491237 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operator

type Operator int
const (
	OperatorMatch Operator = iota
	OperatorReplace
)

type RegexpLiteral

type RegexpLiteral struct {
	Operator Operator

	Match   *regexp.Regexp
	Replace string
}

func ParseRegexpLiteral

func ParseRegexpLiteral(v string) (*RegexpLiteral, error)

Jump to

Keyboard shortcuts

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