Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PattenMatch ¶
PattenMatch matches a string with a wildcard pattern. It supports following cases: - h?llo matches hello, hallo and hxllo - h*llo matches hllo and heeeello - h[ae]llo matches hello and hallo, but not hillo - h[^e]llo matches hallo, hbllo, ... but not hello - h[a-b]llo matches hallo and hbllo - Use \ to escape special characters if you want to match them verbatim.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.