Skip to content

Commit

Permalink
more regex fine tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
giwty authored and giwty committed Sep 25, 2020
1 parent 740963c commit 8e6f4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/organizefolderStructure.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

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

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

0 comments on commit 8e6f4e8

Please sign in to comment.