diff --git a/app/src/main/java/com/simplemobiletools/filemanager/Utils.kt b/app/src/main/java/com/simplemobiletools/filemanager/Utils.kt index 102cb099..30f54c0e 100644 --- a/app/src/main/java/com/simplemobiletools/filemanager/Utils.kt +++ b/app/src/main/java/com/simplemobiletools/filemanager/Utils.kt @@ -30,7 +30,7 @@ class Utils { } fun isNameValid(name: String): Boolean { - val pattern = Pattern.compile("^[-_.A-Za-z0-9() ]+$") + val pattern = Pattern.compile("^[-_.A-Za-z0-9()#& ]+$") val matcher = pattern.matcher(name) return matcher.matches() }