Merge pull request #2509 from mattmurch/Issue549

Add default replace for - to _
This commit is contained in:
Adrian Sampson 2017-04-16 08:56:22 -04:00
commit 8a99eea146
3 changed files with 3 additions and 0 deletions

View file

@ -39,6 +39,7 @@ replace:
'\.$': _
'\s+$': ''
'^\s+': ''
'^-': _
path_sep_replace: _
asciify_paths: false
art_filename: cover

View file

@ -52,6 +52,7 @@ New features:
Fixes:
* :ref:`replace`: Added default replace for - to _. :bug:`549`
* :doc:`/plugins/absubmit`: Do not filter for supported formats. :bug:`2471`
* :doc:`/plugins/mpdupdate`: Fix Python 3 compatibility. :bug:`2381`
* :doc:`/plugins/replaygain`: Fix Python 3 compatibility in the ``bs1770gain``

View file

@ -131,6 +131,7 @@ unexpected behavior on all popular platforms::
'\.$': _
'\s+$': ''
'^\s+': ''
'^-': _
These substitutions remove forward and back slashes, leading dots, and
control characters—all of which is a good idea on any OS. The fourth line