Peters Flexible RenAmiNg Kit (PFrank) Forum Index Peters Flexible RenAmiNg Kit (PFrank)
Support and Discussion Site for the PFrank File/Folder Renaming Tool (http://www3.telus.net/pfrank)
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A dumb question...

 
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> General Support
View previous topic :: View next topic  
Author Message
Firelord



Joined: 01 Apr 2009
Posts: 2

PostPosted: Wed Apr 01, 2009 7:22 pm    Post subject: A dumb question... Reply with quote

Hello Peter,

thank you for your super and flexible program and time you spend to improve it and to answer our questions here. Smile

I have a little dumb question:

I need a way to match one or many words and uppercase/lowercase/capitalize 'em.

e.g.

I use this string to match any of those words in prefix at any position:

(?xi)(test|ntsc|pal|usa||partial|complete|demo)

now I wish to uppercase or lowercase or capitalize them and only them.

Is it possible?

Thanks in advance.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Thu Apr 02, 2009 2:22 am    Post subject: Reply with quote

There's no such thing as a dumb question.

To do what you want, check out the Options Window -> Change Case and Force Case menus.

The Force case menus lets you make a list of words that you want to have with specific letter cases.
The Change Case menu lets you choose which of the Case-related predefined commands will use the force case tables.

eg. If you change the case of a phrase to title case using the pre-defined renaming commands without any force case options, you could change:

i likE pLaying MUSIC by acDC

to

I like playing music by acdc

But if ACDC is in a force case table and Title case is configured to use the table, then the phrase would become:

I like playing music by ACDC

Hope that helps.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Firelord



Joined: 01 Apr 2009
Posts: 2

PostPosted: Thu Apr 02, 2009 11:28 am    Post subject: Reply with quote

Hello Peter and thanks for your answer.

Yes, this works, but I wonder if ther's something that could be done with a little bit of flexibility and only when I really need it.

I mean: everytime I have to go inside prefs and adding/deleting things I want to force case, it is ok afterall, but is there any way to use something like a regex and so I can enable/disable it anytime and directly from the list?

If not, I belive it could be a nice thing to implement in the future, or not?

Thank you again for your support and time.


Cheers
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Fri Apr 03, 2009 3:42 pm    Post subject: Reply with quote

Sorry - that isn't part of the standard regular expression feature set and would be a major change to implement as a non-standard feature.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> General Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own Video Sharing Site

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com