regexptransform

package
v0.0.0-...-949ac08 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2014 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BAD_GROUPS = errors.New("Regexp has too few groups")
View Source
var NO_MATCH = errors.New("No match")

Functions

This section is empty.

Types

type Escape

type Escape func(string) string

type Transform

type Transform func(string) (string, error)

func NewRegexpTransform

func NewRegexpTransform(regexpStr, template string, escape Escape) (Transform, error)

Jump to

Keyboard shortcuts

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