Bug 4261 - vi: ignorecase not working when regex enabled
Summary: vi: ignorecase not working when regex enabled
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.19.x
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 16:03 UTC by Bee
Modified: 2014-02-27 16:01 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bee 2011-09-23 16:03:39 UTC
vi: ignorecase not working when regex enabled

1)
compile regex DISABLED
set ignorecase
search for something using lowercase in a file with mixed case
search finds both lower and upper case words

2)
compile regex ENABLED
set ignorecase
search for something using lowercase in a file with mixed case
search finds only lowercase words
Comment 1 Denys Vlasenko 2014-02-27 16:01:26 UTC
Fixed in git:

commit 264f37363dba6b19d1c6f7db79bc049a1cb5c44b
Author: Denys Vlasenko <vda.linux@googlemail.com>
Date:   Sun Apr 21 15:51:41 2013 +0200

    vi: make regexp search case-insensitive if ":set ignorecase" is active