diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-27 13:33:02 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-27 13:33:02 +0000 |
commit | f683f5c9afec5b7f46704286b465bc4d837d9552 (patch) | |
tree | 02f7387f6d38fcdbf1b96e6c7bbc315c2928ea16 | |
parent | d1487bc9edfae91dc9f2d92d94ea6fc588318f2e (diff) | |
download | rpmdrake-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-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |