fnmatch

package
v0.9.17 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FNM_NOESCAPE = (1 << iota)
	FNM_PATHNAME
	FNM_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)

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