Skip to content

Commit 8e6f4e8

Browse files
giwtygiwty
authored andcommitted
more regex fine tuning
1 parent 740963c commit 8e6f4e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

process/organizefolderStructure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616

1717
var (
1818
folderIllegalCharsRegex = regexp.MustCompile(`[/\\?%*:;=|"<>]`)
19-
nonAscii = regexp.MustCompile("[a-zA-Z0-9áéíóú@#%&',.\\s-]")
19+
nonAscii = regexp.MustCompile("[a-zA-Z0-9áéíóú@#%&',.\\s-\\[\\]\\(\\)\\+]")
2020
)
2121

2222
func DeleteOldUpdates(localDB *db.LocalSwitchFilesDB, updateProgress db.ProgressUpdater) {

0 commit comments

Comments
 (0)