Sure, in a replace pattern you can use the following modifiers:

\u - Make the next character uppercase
\U - Make all following characters uppercase until reaching another case specifier (\u, \L, \l ) or \E
\l - Make the next character lowercase
\L - Make all following characters lowercase until reaching another case specifier (\u, \U, \l ) or \E
\E - End case transformation opened by \U or \L

If you pick "Grep Reference" from the BBEdit help menu and look for case transformations, you'll find more info.

On Jan 12, 2008, at 10:54 AM, Richard Carr wrote:

I would like to "Replace All" instances of a pattern with the same text down- (or up-) shifted.

I have set a function key F5 to Change Case, so I can quickly do a few with Command-g and F5, but I want to do many hundreds. Can I do this automagically?

(By the way, I've discovered that Command-F5 turns on a very cool Voiceover feature. That happens when trying to do the above operations quickly.)



--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>



--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to