busybox/editors
Denys Vlasenko 836d0a7ee4 vi: fix FEATURE_VI_REGEX_SEARCH to respect LIMITED (one-line) search
If busybox is compiled with FEATURE_VI_REGEX_SEARCH enabled, command
":s/x/y/" searches not only in the current line, but continues search
after it. This makes range searches (":1,3s/x/y/") work incorrect. For
example file "./test":
1
2
3

$ vi ./test
:1,2s/3/e/
gives us:
1
2
e

function                                             old     new   delta
char_search                                          213     241     +28

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-11-29 14:19:57 +01:00
..
awk.c awk: abort if NF set to negative value 2018-11-28 12:16:29 +01:00
cmp.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
diff.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
ed.c line editing: make read_line_input() not take timeout param 2017-08-02 17:27:28 +02:00
Kbuild.src switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
patch_bbox.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
patch_toybox.c Update menuconfig items with approximate applet sizes 2017-07-18 22:01:24 +02:00
patch.c patch: implement --dry-run 2018-04-14 16:05:26 +02:00
sed1line.txt add sed mini-doc 2007-11-13 17:13:31 +00:00
sed_summary.htm doc: add info about sed s/.../.../I modifier 2008-03-01 19:29:56 +00:00
sed.c sed: fix double-free in FEATURE_CLEAN_UP code 2018-09-25 12:50:54 +02:00
vi.c vi: fix FEATURE_VI_REGEX_SEARCH to respect LIMITED (one-line) search 2018-11-29 14:19:57 +01:00