fnmatch

package module
v0.0.0-...-1a55764 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: BSD-2-Clause Imports: 3 Imported by: 2

README

fnmatch

Updated clone of kballards golang fnmatch gist (https://gist.github.com/kballard/272720)

Documentation

Overview

Provide string-matching based on fnmatch.3

Index

Constants

View Source
const (
	FNM_NOESCAPE = (1 << iota)
	FNM_PATHNAME
	FNM_PERIOD

	FNM_LEADING_DIR
	FNM_CASEFOLD

	FNM_IGNORECASE = FNM_CASEFOLD
	FNM_FILE_NAME  = FNM_PATHNAME
)

Variables

This section is empty.

Functions

func Match

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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