[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/1.2.5.1i |
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
lookatthis
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
thisatlook
Instead you get
tthika loo
subexp.patch
Description: Text document
pgpQ0x6OvluIR.pgp
Description: PGP signature
- [Nano-devel] Page Up/Down, Gus Tabares, 2003/01/24
- [Nano-devel] Mem leaks when toggling M-x., David Benbennick, 2003/01/26
- [Nano-devel] Re: Mem leaks when toggling M-x., Chris Allegretta, 2003/01/25
- [Nano-devel] Search-and-replace bugs., David Benbennick, 2003/01/26
- [Nano-devel] Re: Search-and-replace bugs., Chris Allegretta, 2003/01/25
- [Nano-devel] edit_refresh() bug., David Benbennick, 2003/01/26
- Re: [Nano-devel] edit_refresh() bug., Chris Allegretta, 2003/01/26
- [Nano-devel] Updating the mark when spell checking., David Benbennick, 2003/01/26
- [Nano-devel] Re: Updating the mark when spell checking., Chris Allegretta, 2003/01/26