6 func pathExtractor(input string) [][][]byte {
7 surroundRegex := "[^][ \\t:'\"]"
8 r := regexp.MustCompile("("+surroundRegex+"*[\\./]"+surroundRegex+"*)")
10 temp = r.FindAllSubmatch([]byte(input),-1)
14 func getAllMatches(input string) []string {
15 matches := [][][]byte{}
18 matches = pathExtractor(input)
19 for _,match := range matches {
21 if isDate(s) || isVersion(s) || isGitRange(s) || isGitInstruction(s) || containsInvalidString(s) || len(s)<=2 {
27 result = append(result,s)