On Thu, 23 Mar 2006 10:33:00 -0500, Peter Rejto wrote:
>On 3/22/2006 2:04:09 PM, Christian Ziemski wrote:
>>
>>Select files: (.*)\.htm
>>Rename to: \1.html
>
>This worked like a charm for me!
Good.
>Now a self-survey:
>
>At present, I shall not use the full force of this powerfull
>utility. I shall restrict my self to your special case #1.
>That is to say, to renaming filename extensions.
I assume you are refering to example 1 listed by the macro.
>Then I shall insert the regular expression strings, (.*).
>and \1. into the appropriate Text-Registers.
Into the input boxes of the dialog, yes.
>Then, I hope, that all that I have to do is to type in the
>old and new extensions.
Some details about my above example:
The Regexp for selecting some files is (.*)\.htm
The second part of it, the \. means a real dot (escaped by the
backslash).
The third part is the filename extension, here htm.
And the first part of it, the (.*) is the leading part of the filename
(in combination with the rest: up to the extension's dot, but without
it). The parentheses create a group, which is refered to as \1 in the
"Rename to" input box.
>These adjustments look pretty minor to my untrained eyes.
>If you have the time, I would appreciate your doing them.
?? What should I do? I don't understand.
If you mean to change the documentation (the examples of the macro),
that is already done and will be included in the final 6.15 I think.
Christian
|
|