[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] Subexpression replacement.

From: David Benbennick
Subject: [Nano-devel] Subexpression replacement.
Date: Sat, 25 Jan 2003 23:06:25 -0500
User-agent: Mutt/

This patch replaces utils.c:strstrwrapper() and fixes
search.c:replace_regexp() so that subexpression regexp replacement works. 
For example, make a file with the line


and put the cursor at the beginning of the line (a space).  Regexp
search for "(look)(at)(this)", and replace with "\3\2\1".  It should
produce the line


Instead you get

 tthika loo

Attachment: subexp.patch
Description: Text document

Attachment: pgpQ0x6OvluIR.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]