Documentation ¶
Overview ¶
Package pattern provides a basic pattern matching utility. Patterns may contain fixed text, and/or special characters (`*`, `?`). `*` represents 0 or more wildcard characters. `?` represents a single wildcard character.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WildcardMatch ¶
WildcardMatch returns true if text matches pattern at the given case-sensitivity; returns false otherwise.
func WildcardMatchCaseInsensitive ¶
WildcardMatchCaseInsensitive returns true if text matches pattern (case-insensitive); returns false otherwise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.