Bug 179483 - yum disallows regular expression searches
Summary: yum disallows regular expression searches
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-31 19:09 UTC by James Hunt
Modified: 2014-01-21 22:53 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-03-05 00:56:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Hunt 2006-01-31 19:09:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:
Yum does not allow regular expressions in "search" command.


Version-Release number of selected component (if applicable):
yum-2.4.1-1.fc4

How reproducible:
Always

Steps to Reproduce:
1. yum search "^php"

  

Actual Results:  No Matches found

Expected Results:  php
php-devel
php-mysql
  :
  :


Additional info:

Comment 1 Seth Vidal 2006-03-05 00:56:06 UTC
you're actually best off just typing in the word you're looking for if you're
doing a search w/o any globs or regexes.

if you're looking for a package name don't use search at all.

use yum list:

yum list php\*

that will get you the answers you want much better and faster.

but we won't be adding regexes there, either. Distinguishing b/t regexes and
file globs is too much for way too little benefit.


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