regexp_char_filter

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "regexp"

Variables

This section is empty.

Functions

func RegexpCharFilterConstructor

func RegexpCharFilterConstructor(config map[string]interface{}, cache *registry.Cache) (analysis.CharFilter, error)

Types

type RegexpCharFilter

type RegexpCharFilter struct {
	// contains filtered or unexported fields
}

func NewRegexpCharFilter

func NewRegexpCharFilter(r *regexp.Regexp, replacement []byte) *RegexpCharFilter

func (*RegexpCharFilter) Filter

func (s *RegexpCharFilter) Filter(input []byte) []byte

Jump to

Keyboard shortcuts

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