wildcard

package
v0.13.13 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(pattern, str string) bool

Compare will match a string pattern which may contain wildcard characters against a string str. The result is a boolean.

func CompareAnyTag

func CompareAnyTag(pattern, str string) bool

CompareAnyTag will match a string pattern which may contain wildcard characters against a string str. If the compare fails, a successive compare is made with a ':*' added to pattern (wildcard the addition of a tag to the pattern). The result is a boolean based on the last test.

Types

This section is empty.

Jump to

Keyboard shortcuts

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