Switch to our new Match function
Also improved some docstrings
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package protocol
|
||||
|
||||
// MatchPattern checks if the byte slice matches the magic string pattern.
|
||||
// Match the input against the magic string pattern.
|
||||
//
|
||||
// '?' matches any single character
|
||||
// '*' matches zero or more characters
|
||||
|
Reference in New Issue
Block a user