 +   strip_prefix = add_suffix = rwhere = add_prefix = NULL;
 +
 +try_again_reg:
++   ua->send_msg(_("strip_prefix=%s add_prefix=%s add_suffix=%s result=%s\n"),
++		NPRT(strip_prefix), NPRT(add_prefix), NPRT(add_suffix), NPRT(regexp));
++
 +   start_prompt(ua, _("This will replace your current Where value\n"));
 +   add_prompt(ua, _("Strip prefix"));                /* 0 */
 +   add_prompt(ua, _("Add prefix"));                  /* 1 */

 static char verifycmd[]   = "verify level=%30s";
 static char estimatecmd[] = "estimate listing=%d";
 static char runbefore[]   = "RunBeforeJob %s";
@@ -1586,12 +1588,15 @@
    *where = 0;
 
    if (sscanf(dir->msg, restorecmd, &replace, &prefix_links, where) != 3) {

           escaped_where_name ? escaped_where_name : rx.where,
           rx.selected_files, ua->catalog->name());
    } else {
@@ -216,6 +258,10 @@
    if (escaped_where_name != NULL) {
       bfree(escaped_where_name);
    }
