[Batch Renamer] Format Subpattern

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
Guest

[Batch Renamer] Format Subpattern

Post by Guest »

How can I format a single Subpattern?

Example:
foo bar

Regular expression:
^foo\s(\w)ar

Target string:
foo $(1)bar

How can I change the $(1) in upper case?
Lukas Cerman
Plugin Developer
Plugin Developer
Posts: 36
Joined: 11 Dec 2005, 20:08
Contact:

Post by Lukas Cerman »

Hi,

for upper case use $(1:upper).

You don't have to remember this, there is a menu to the right of the 'Replace with' form. The menu contains a choice 'Matched Subexpression'.
User avatar
beta
Translator
Translator
Posts: 25
Joined: 09 Dec 2005, 21:34
Location: Germany

Post by beta »

Thanks Lukas.
Post Reply