package fnmatch
import "github.com/danwakefield/fnmatch"
Provide string-matching based on fnmatch.3
Index ¶
Constants ¶
const ( FNM_NOESCAPE = (1 << iota) FNM_PATHNAME FNM_PERIOD FNM_LEADING_DIR FNM_CASEFOLD FNM_IGNORECASE = FNM_CASEFOLD FNM_FILE_NAME = FNM_PATHNAME )
Functions ¶
func Match ¶
Matches the pattern against the string, with the given flags, and returns true if the match is successful. This function should match fnmatch.3 as closely as possible.
Source Files ¶
- Version
- v0.0.0-20160403171240-cbb64ac3d964 (latest)
- Published
- Apr 3, 2016
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- now –
Tools for package owners.