Bug 4261

Summary: vi: ignorecase not working when regex enabled
Product: Busybox Reporter: Bee <200309>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: busybox-cvs
Priority: P5    
Version: 1.19.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

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