Export to GitHub

stexbar - issue #171

Rename "Regex Help" doesn't mention "$1"


Posted on Aug 6, 2011 by Quick Bear

What steps will reproduce the problem? 1. Click on the Rename button with the intention of renaming foo123bar.txt to 123.txt 2. type foo(.*)bar.txt into the "Match" box 3. try to remember how to tell the "Replace" box that it should reuse the expression in brackets... try manually with \1, #1; click on "Help" to no avail. Finally give up, come back to the StExBar homepage, click on the third screenshot to find an example telling you that you should have typed "$1.txt".

What is the expected output? What do you see instead?

The "Regex Help" which comes up when you click "Help" in the "Rename" dialog should contain an additional line like this:

$1, $2, ...: expand to the substrings grouped by brackets in the "Match" field

What version of the product are you using? On what operating system?

StExBar 1.8.3.352 on WinXP SP3

Please provide any additional information below. I hope writing this bug report will help me remember it from now on ;-).

Comment #1

Posted on Aug 6, 2011 by Helpful Hippo

(No comment was entered for this change.)

Comment #2

Posted on Nov 28, 2011 by Helpful Hippo

Added that line together with some other changes in r365

Status: Fixed

Labels:
Type-Enhancement Priority-Medium Milestone-1.8.4