apicontext

This commit is contained in:
Michael McGuinness
2024-12-23 16:01:54 +00:00
parent ce5e566c9e
commit a54a70047b
129 changed files with 1107 additions and 693 deletions
+8 -6
View File
@@ -10,13 +10,15 @@ import (
// and '?' matches on any one character.
//
// pattern:
// { term }
// term:
// '*' matches any sequence of non-Separator characters
// '?' matches any single non-Separator character
// c matches character c (c != '*', '?', '\\')
// '\\' c matches character c
//
// { term }
//
// term:
//
// '*' matches any sequence of non-Separator characters
// '?' matches any single non-Separator character
// c matches character c (c != '*', '?', '\\')
// '\\' c matches character c
func Match(str, pattern string) bool {
if pattern == "*" {
return true