wildcard

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPatterns

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

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

MatchPatterns check if any text satisfies any pattern

func SeperateWildcards

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