1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

* get rid of invalid trailing spaces as well when forcing valid filenames

This commit is contained in:
Reinhard Pointner 2013-05-30 20:30:38 +00:00
parent dbabcdcb7d
commit 6d46fbf314

View File

@ -458,7 +458,7 @@ public final class FileUtilities {
/** /**
* Invalid file name characters: \, /, :, *, ?, ", <, >, |, \r and \n * Invalid file name characters: \, /, :, *, ?, ", <, >, |, \r and \n
*/ */
public static final Pattern ILLEGAL_CHARACTERS = Pattern.compile("[\\\\/:*?\"<>|\\r\\n]|[.]+$"); public static final Pattern ILLEGAL_CHARACTERS = Pattern.compile("[\\\\/:*?\"<>|\\r\\n]|[. ]+$");
/** /**