fnmatch

package
v0.12.21 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2016 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoEscape = (1 << iota)
	PathName
	CaseFold
)

Variables

This section is empty.

Functions

func Convert

func Convert(pattern string, flags int) (*regexp.Regexp, error)

func Match

func Match(pattern, s string, flags int) (bool, error)

Match matches the pattern against the string, with the given flags, and returns true if the match is successful.

Types

This section is empty.

Jump to

Keyboard shortcuts

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