Page 1 of 1

Small bug in RegEx search and replace

Posted: Tue Feb 01, 2011 2:13 pm
by Rumbo
Found a small bug in your otherwise excellent application:
when you search text and replace with nothing (no text entered) this works fine in the Standard (plaintext) tab.

But if I switch to the RegEx tab, enter a regex and have no text in the replace textbox I get a dialog "aaa - You have chosen to replace this with nothing. Sure?" where the aaa is the text I have in the find-textbox in the Standard(!) tab.

In short:
Standard tab: Find: aaa / Replace: bbb
Regex tab: Find: foobar / Replace:

So I want to replace foobar with nothing in the Regex tab and get asked
"aaa - You have chosen to replace this with nothing. Sure?"

Huh? Shouldn't all other tabs than the currently selected be unaffected by any operations TextCrawler performs?

Posted: Tue Feb 01, 2011 8:35 pm
by DV
Nice catch. It was pulling the text from the 'Find' box into the error message. Have fixed for v2.1
thanks!