Package: mc
Version: 4.6.2~pre1-7
Severity: wishlist

Hi,
I finally grew tired of mcedit's replace "features" and decided to fix it.
I attach patch (put it in debian/patches/ dir) that implements:
 1. regexp parenthesized subpatterns now can be referenced in replace string
    (using \1 \2 etc, "replacement argument order" is not used with regexp)
 2. replace prompt now shows replacement string with subpattern references
     filled with matched strings - this works both for regexp replace
     and for scanf replace (personally I think scanf matching should be
     completely ripped off)
Please apply this patch so I won't have to patch my favorite editor :-)

Regards
Michal Pokrywka

Attachment: 99_regexp-replace-fixed.patch
Description: Binary data

Reply via email to