diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | rpmdrake | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,7 @@ o enable to apply priority updates without trying to select any package o search + * default to OR like searches for searches among package names (#37643) * enable to disable use of regular expression (default is: disabled) Version 5.17 - 1 June 2009, Thierry Vignaud @@ -58,6 +58,8 @@ sub do_search($$$$$$$) { my $entry = $find_entry->get_text or return; if (!$use_regexp->[0]) { $entry = quotemeta $entry; + # enable OR search by default: + $entry =~ s/\\ /|/g if $current_search_type eq 'normal'; } # remove leading/trailing spacing when pasting: if ($entry !~ /\S\s\S/) { |