Merged in feature/devbox (pull request #11)
Add Devbox * adddevbox * cleanupdockerfile * testscripts
This commit is contained in:
+5
-7
@@ -10,15 +10,13 @@ import (
|
||||
// and '?' matches on any one character.
|
||||
//
|
||||
// pattern:
|
||||
//
|
||||
// { term }
|
||||
//
|
||||
// { term }
|
||||
// term:
|
||||
// '*' matches any sequence of non-Separator characters
|
||||
// '?' matches any single non-Separator character
|
||||
// c matches character c (c != '*', '?', '\\')
|
||||
// '\\' c matches character c
|
||||
//
|
||||
// '*' 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
|
||||
|
||||
Reference in New Issue
Block a user