Update StringFilenameValidationUtils.java

Based on email feedback. Changing regex from "A-z" to "A-Z".
This commit is contained in:
Ulisses Lima 2023-07-10 00:00:07 -03:00 committed by GitHub
parent 3f76369a97
commit b21100a01e
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ public class StringFilenameValidationUtils {
public static final Character[] INVALID_WINDOWS_SPECIFIC_CHARS = {'"', '*', '<', '>', '?', '|'};
public static final Character[] INVALID_UNIX_SPECIFIC_CHARS = {'\000'};
public static final String REGEX_PATTERN = "^[A-za-z0-9.]{1,255}$";
public static final String REGEX_PATTERN = "^[A-Za-z0-9.]{1,255}$";
private StringFilenameValidationUtils() {
}