fnmatch

package
v0.10.12 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2014 License: GPL-3.0 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