]> Sergey Matveev's repositories - path-extractor.git/blobdiff - validators.go
Update readme with installation method
[path-extractor.git] / validators.go
index cd9477dc64acd28b5cfde017ecb25ef3ec6af713..cb09c4035ccb8b00c72bfce3e53a8f7e759e3525 100644 (file)
@@ -38,7 +38,7 @@ func isVersion(input string) bool {
 }
 
 func containsInvalidString(input string) bool {
-       invalidStrings := []string{"(", ")", "@", "origin/", "{", "}", "<", ">", "$", "*"}
+       invalidStrings := []string{"(", ")", "@", "and/or", "origin/", "{", "}", "<", ">", "$", "*"}
        for _, s := range invalidStrings {
                if strings.Contains(input, s) {
                        return true