Bug 43376 - Search with * wrong!
Search with * wrong!
Product: Red Hat Raw Hide
Classification: Retired
Component: vim (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-06-04 10:29 EDT by Sammy
Modified: 2007-04-18 12:33 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-01-24 18:04:25 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sammy 2001-06-04 10:29:09 EDT
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:


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 17:38:26 EST
Fixed in 6.0-7.13 (errata just released)
Comment 2 keithu@parl.clemson.edu 2002-01-30 12:25:59 EST
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.

Note You need to log in before you can comment on or make changes to this bug.