summaryrefslogtreecommitdiff
path: root/testsuite/wc/wc-counts-lines
diff options
context:
space:
mode:
authorRon Yorston2021-07-02 08:23:06 +0100
committerDenys Vlasenko2021-07-13 13:36:29 +0200
commit2916443ab650b10fd401ceb221d26fa58e2e99b3 (patch)
treefe6cb95a050bd41a9fe5146b92fccffd771ffa11 /testsuite/wc/wc-counts-lines
parentb50ac07cba558c370be66226ae0ad762157ee59a (diff)
downloadbusybox-2916443ab650b10fd401ceb221d26fa58e2e99b3.zip
busybox-2916443ab650b10fd401ceb221d26fa58e2e99b3.tar.gz
vi: use basic regular expressions for search
Both traditional vi and vim use basic regular expressions for search. Also, they don't allow matches to extend across line endings. Thus with the file: 123 234 the search '/2.*4$' should find the second '2', not the first. Make BusyBox vi do the same. Whether or not VI_REGEX_SEARCH is enabled: function old new delta ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/0 up/down: 0/0) Total: 0 bytes Signed-off-by: Andrey Dobrovolsky <andrey.dobrovolsky.odessa@gmail.com> Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/wc/wc-counts-lines')
0 files changed, 0 insertions, 0 deletions