suffix

package
v0.0.0-...-b232642 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const MatchRegexp = "[a-z]+$"

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match struct{}

Match implements the regular expression "[a-z]+$" with flags 212.

func (Match) Find

func (e Match) Find(s []byte) (matches [1][]byte, pos int, ok bool)

Find returns the first leftmost match.

func (Match) FindLongest

func (e Match) FindLongest(s []byte) (matches [1][]byte, pos int, ok bool)

FindLongest returns the leftmost-longest match.

func (Match) FindLongestString

func (e Match) FindLongestString(r string) (matches [1]string, pos int, ok bool)

FindLongestString returns the leftmost-longest match.

func (Match) FindString

func (e Match) FindString(r string) (matches [1]string, pos int, ok bool)

FindString returns the first leftmost match.

Jump to

Keyboard shortcuts

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