[email protected]
[Top] [All Lists]

mcedit regex replace

Subject: mcedit regex replace
From: Nabil Sayegh
Date: Thu, 1 Jun 2006 17:27:36 +0200
Is it possible replace using regular expressions with subexpressions AND use 
the subexpression matches in the replacement?


Text:
 xxxFOOBARxxx

Search string:
 (FOO|BAR)

Replacement string:
 yyy$1  

Result:
 xxxyyyFOOyyyBARxxx

scanf replacement isn't much of a help.

rgds
-- 
 Nabil Sayegh
_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

<Prev in Thread] Current Thread [Next in Thread>
  • mcedit regex replace, Nabil Sayegh <=