Small bug in RegEx search and replace

Tool for Search and Replace across multiple files.
User avatar
Rumbo

Small bug in RegEx search and replace

Post 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?
User avatar
DV

Post by DV »

Nice catch. It was pulling the text from the 'Find' box into the error message. Have fixed for v2.1
thanks!
Post Reply