aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-27 13:33:02 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-27 13:33:02 +0000
commitf683f5c9afec5b7f46704286b465bc4d837d9552 (patch)
tree02f7387f6d38fcdbf1b96e6c7bbc315c2928ea16
parentd1487bc9edfae91dc9f2d92d94ea6fc588318f2e (diff)
downloadrpmdrake-f683f5c9afec5b7f46704286b465bc4d837d9552.tar
rpmdrake-f683f5c9afec5b7f46704286b465bc4d837d9552.tar.gz
rpmdrake-f683f5c9afec5b7f46704286b465bc4d837d9552.tar.bz2
rpmdrake-f683f5c9afec5b7f46704286b465bc4d837d9552.tar.xz
rpmdrake-f683f5c9afec5b7f46704286b465bc4d837d9552.zip
(do_search) allow using regexp in searches (Vincent Panel, #27198)
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 142105c5..381d1bd2 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -532,7 +532,7 @@ my $db = open_db();
sub do_search($$$$$$$) {
my ($find_entry, $tree, $tree_model, $options, $current_search_type, $urpm, $pkgs) = @_;
- my $entry = quotemeta $find_entry->get_text or return;
+ my $entry = $find_entry->get_text or return;
my $entry_rx = eval { qr/$entry/i } or return;
my ($results_ok, $results_none) = (N("Search results"), N("Search results (none)"));
$options->{delete_category}->($_) foreach $results_ok, $results_none;