Bug 43376

Summary: Search with * wrong!
Product: [Retired] Red Hat Raw Hide Reporter: Sammy <umar>
Component: vimAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: keithu
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-24 23:04:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sammy 2001-06-04 14:29:09 UTC
Description of Problem:

In the latest version from rawhide, if one searches for a string with an *
character all previous characters are also searched...e.g. if you search
for XF* to find all oocurances of XFree86, all X's are also higlighted and
searched for! The search seems to be for string upto the * and also the
string upto the star minus the last character .e.g searching for vim* also
finds all vi's

How Reproducible:

Always

Steps to Reproduce:
1. rpm -q -a > out
2. vi out
3. /XF*

Actual Results:


Expected Results:

What it used to do before.

Additional Information:

Comment 1 Bernhard Rosenkraenzer 2002-01-28 22:38:26 UTC
Fixed in 6.0-7.13 (errata just released)

Comment 2 keithu@parl.clemson.edu 2002-01-30 17:25:59 UTC
NO!!!  vi searches with regular expressions.  (use vi under Solaris, for
example).  If you search with "/XF*", you are supposed to get all occurences of
X, XF, XFF, XFFF, etc.  i.e. that * means "0 or more occurences of F".  If you
want to search for all occurences of "XF and then some string of characters",
you should search for "XF.*".  

I repeat, the behavior BEFORE this update was CORRECT.