}
func pathExtractor(input string) [][]int {
- surroundRegex := "[@~\\-_a-zA-Z/.0-9]*"
+ surroundRegex := "[@~\\-_a-zA-ZА-Яа-яЁё/.0-9]*"
r := regexp.MustCompile("(" + surroundRegex + "[\\./]" + surroundRegex + ")")
return r.FindAllSubmatchIndex([]byte(input), -1)
}