#11 2009-10-04 19:23

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Separate words separates successive Capitalized letters

den4b wrote:

There are just too many exceptions
Conclusions:
In this way all capitals are treated unless it involves punctuation.

Pretty fine, i think that should fit most of the issues.

den4b wrote:

Stefan, I think you got carried away and forgot ...

Got me! Sorry. (but i want to think about such possibles before you do the work, just in case it could be from help)


Thank you (also for the script too)


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#12 2009-10-04 19:42

narayan
Senior Member
Registered: 2009-02-08
Posts: 470

Re: Separate words separates successive Capitalized letters

And thank YOU, Stefan, for such a meticulous test-case planning.

These test cases certainly give a pretty good idea about where to draw the line in the design; and what would be the planned limitations. That's a good thing.

And in case Denis does consider those cases, your test cases serve as excellent examples for the manual (wiki).

Offline

#13 2009-10-05 06:54

ozzii
Senior Member
Registered: 2007-07-04
Posts: 101

Re: Separate words separates successive Capitalized letters

Thanks for these tests !


_________________
Do, or do not. There is no 'try.'" --  Jedi Master Yoda

Offline

#14 2009-10-05 09:26

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Separate words separates successive Capitalized letters

Thanks for the nice words guys.
------------------------------------------------------------------------


Recapitulation for the Change Log:

This feature "Insert space in front of capitals" , found at  CleanUp Rule,
is for to separate words missed spaces between them.

How it works:
IF an uppercase char follows an lowercase char THEN insert an space in between IF no other uppercase char follows.

Examples:
ABBATheAlbum-TakeAChanceOnMeRMXGood.mp3
OMD-Pandora´sBox.mp3
G.G.Anderson - DiscofoxHitMix.mp3

will be renamed to
ABBA The Album-Take A Chance On Me RMX Good.mp3
OMD-Pandora´s Box.mp3
G.G.Anderson - Discofox Hit Mix.mp3



Hint:
If an punctuation mark (-_.,({[\!) is in front of an uppercase char then there is no space inserted.
If needed, you can use as second an Replace Rule to find punctuations and add space around them.

Example:
ASentenceWithUpper.Case_and_Underscores-And-DashesAND,comasAND.dotsANDpunctuation(BC) - [CD] - !EF! - {GH}

Replacement with "Skip Extension" checked:
A Sentence With Upper.Case_and_Underscores-And-Dashes AND,comas AND.dotsANDpunctuation(BC) - [CD] - !EF! - {GH}
(replacement is stopped at last found dot punctuation in the name)

Replacement without "Skip Extension":
A Sentence With Upper.Case_and_Underscores-And-Dashes AND,comas AND.dots AN Dpunctuation(BC) - [CD] - !EF! - {GH}

Note:
here at example "dots AN Dpunctuation", you can see that ReNamer can't know which is an word and which are two.
So you may want to do an Preview first and take an long and closer look at the preview before you press Rename.

_

Last edited by Stefan (2009-10-05 09:36)


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

Board footer

Powered by FluxBB