": " and FilenameMappings BUG#5495

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: ": " and FilenameMappings BUG#5495

Re: ": " and FilenameMappings BUG#5495

by Peke » Mon Apr 13, 2009 4:59 pm

This should be fixed in next release.

Re: ": " and FilenameMappings

by Peke » Sat Apr 11, 2009 11:44 am

": " and FilenameMappings BUG#5495

by ZvezdanD » Sat Apr 11, 2009 1:48 am

I am not sure where to post this question. Maybe it should go to the "Need Help", but I think it is a bug.

After a question from one user of my script I observed the following thing. Let say that I have two kind of Titles which have column character - one with a space character after it (e.g. "Finale: Presto" or "Rondo: Allegro") and another without a space character (e.g. "12:08 AM"). In the first example I want to replace ": " with " - " (note added space character before dash) because it is ugly to get filename as "Finale- Presto" or "Rondo- Allegro". In the second example it should be "12-08 AM" without spaces around dash. This second example is already covered with the default FilenameMappings, but not the first. So, I added the line:

Code: Select all

3A20=202D20
before the existing one:

Code: Select all

3A=2D
I suppose the order of lines is important and the program executes replacement with the first line before the second. However, with my settings I get

Code: Select all

Finale -  Presto
and

Code: Select all

Rondo -  Allegro
(note one more space character after dash). The second example without spaces around column works correctly as before, i.e instead of 12:08 AM" I get "12-08 AM".

Well, if I type 3A20=202D instead of 3A20=202D20 everything works as needed, but in my opinion it is not logical nor correct way.

Top