in multirename tool : 1° UPPERCASE letter does not work..

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Michael REMY
Senior Member
Senior Member
Posts: 202
Joined: 2010-12-12, 10:05 UTC
Location: Amiens

in multirename tool : 1° UPPERCASE letter does not work..

Post by *Michael REMY »

hi,

When you have this list item:
1 my choice.wav
2 - my life.wav


i'd like to uppercase the FIRST LETTER, to have this :
1 My choice.wav
2 - My life.wav

so i choose "1° uppercase letter" in the preselect option combo list, but it only works on the first caracter...... whereas it should run on the first uppercable letter.
TC should understand that number and symbol are not uppercasable, so take in charge the next incoming character...

Hope it can be fixed...not urgent but boring....

Best regards
Mike

ps : and no, uppercase each word does not fit my need, only the first word.
i'm an old long user of TC since the windows 3.11 release !, for the history, i came to tc when i migrate from amiga commodore to PC where they are diskmanager and directory opus there.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Multi Rename Tool: change case with RegEx \U \L \E

Post by *Stefan2 »

Yes, TC works just on the very first sign, whatever that is. And there is no upper case for an hyphen.


Would be nice if TC would support \L\U\l\u\E syntax for RegEx (often needed),

then we could use something like

search: ^([-_ ]*)([a-z])(.+)$
replace: \1\U\2\E\3



like Siren (click) for example does:
%Lf;%f(s/^([-_ ]*)([a-z])(.+)$/\1\U\2\E\3/g)

Code: Select all

Current name															Future name	
- Hier ist auch Kelly Rowland Test.ext						- Hier ist auch kelly rowland test.ext
-Kelly.ext															 -Kelly.ext
_ Kelly Family.ext													_ Kelly family.ext
Dies ist ein Test mit R. Kelly Test Datei.ext				Dies ist ein test mit r. kelly test datei.ext
Henry R. William Kellys Kartoffelchips.ext					Henry r. william kellys kartoffelchips.ext
Kelly Rowland.ext													 Kelly rowland.ext
Post Reply