Bug in vi + patch

Dan Moinescu dan at moinescu.net
Thu Apr 18 18:36:41 UTC 2013


Hi,

If busybox is configured with CONFIG_FEATURE_VI_REGEX_SEARCH=y, then
all searches in vi are case-sensitive, even if ":set ignorecase" is in
effect. The attached patch solves this problem (the code is based on
the example on doing case-insensitive regex searches at
http://www.gnu.org/software/gnulib/manual/html_node/GNU-Translate-Tables.html#GNU-Translate-Tables).

Regards,
Dan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vi-regex-search.patch
Type: text/x-patch
Size: 1182 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20130418/75f6e27e/attachment.bin>


More information about the busybox mailing list