wildcard

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPatterns added in v1.9.0

func CheckPatterns(patterns []string, names ...string) bool

CheckPatterns check if any text satisfies any pattern

func ContainsWildcard

func ContainsWildcard(v string) bool

func Match

func Match(pattern, name string) bool

func MatchPatterns added in v1.9.0

func MatchPatterns(patterns []string, names ...string) (string, string, bool)

MatchPatterns check if any text satisfies any pattern

func SeperateWildcards added in v1.9.0

func SeperateWildcards(l []string) (lw []string, rl []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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