Ignore separator at end of string. Fixes #3823
This commit is contained in:
@@ -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