Documentation
¶
Overview ¶
Package wildcard provides simple, safe string matching where only '*' is treated as a wildcard matching any sequence of characters (excluding newlines).
Example:
ok := wildcard.Match("foo*bar", "fooXYZbar") // single
okAny := wildcard.Match("foo*bar", "nope", "fooZZZbar") // any-of
okEmpty := wildcard.Match("foo*bar") // false (no inputs)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.