regex

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyNonWordChar

func AnyNonWordChar() base.ClassToken

func AnyWordChar

func AnyWordChar() base.ClassToken

func ClosingPunctuationToken

func ClosingPunctuationToken() base.ClassToken

func MidWordPunctuationToken

func MidWordPunctuationToken() base.ClassToken

func NewRegexFromNames

func NewRegexFromNames(names ...string) *regexp.Regexp

func NormalizeSearchString

func NormalizeSearchString(input string) string

func NormalizeString

func NormalizeString(input string) string

func OpeningPunctuationToken

func OpeningPunctuationToken() base.ClassToken

func QuotedStringToken

func QuotedStringToken(quoteCharToken base.ClassToken) base.GroupToken

func RegexTokenFromName

func RegexTokenFromName(name string) base.GroupToken

func RegexTokensFromNames

func RegexTokensFromNames(names ...string) []dialect.Token

func SearchStringToNormalizedTokens

func SearchStringToNormalizedTokens(input string) []string

func TrimmedWordToken

func TrimmedWordToken() base.GroupToken

func WordToken

func WordToken() base.GroupToken

func WordTokenRegex

func WordTokenRegex() *regexp.Regexp

Types

This section is empty.

Jump to

Keyboard shortcuts

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