Ignore separator at end of string. Fixes #3823
This commit is contained in:
1 parent
3546f29caf
commit
c0492a41d9
1 file changed
+1
-1
@@ -847,7 +847,7 @@ Remove it if you want it to be renamed (again, or at least let it try again)
|
||||
|
||||
replaces = [
|
||||
('\.+', '.'), ('_+', '_'), ('-+', '-'), ('\s+', ' '), (' \\\\', '\\\\'), (' /', '/'),
|
||||
('(\s\.)+', '.'), ('(-\.)+', '.'), ('(\s-)+', '-'),
|
||||
('(\s\.)+', '.'), ('(-\.)+', '.'), ('(\s-)+', '-'), ('([\s\.\,\_\-\/\\]$)', ''),
|
||||
]
|
||||
|
||||
for r in replaces:
|
||||
|
||||
Reference in new issue
Block a user