diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-13 19:41:56 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-13 19:41:56 +0000 |
commit | 3cfabf4880b79b1b53b43c04910b77218ff8b44b (patch) | |
tree | 532b769056c3be49d4523cb598cfdd9fb7b6bf6b | |
parent | 30a195d307f9166ea5ca6b0b93ec3b205472ee87 (diff) | |
download | qarepo-3cfabf4880b79b1b53b43c04910b77218ff8b44b.tar qarepo-3cfabf4880b79b1b53b43c04910b77218ff8b44b.tar.gz qarepo-3cfabf4880b79b1b53b43c04910b77218ff8b44b.tar.bz2 qarepo-3cfabf4880b79b1b53b43c04910b77218ff8b44b.tar.xz qarepo-3cfabf4880b79b1b53b43c04910b77218ff8b44b.zip |
Ensure a '+' in a package name is taken literally.
-rw-r--r-- | qarepo.pl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -25,7 +25,7 @@ use Gtk3 '-init'; use MDK::Common; use URPM; -my $version = 'v1.4'; +my $version = 'v1.5'; ############################################################################### # States and Status @@ -658,6 +658,7 @@ sub trim { sub wildcard_to_regexp { my ($pattern) = @_; $pattern =~ s/\./\\./g; + $pattern =~ s/\+/\\+/g; $pattern =~ s/\*/.*/g; $pattern =~ s/\?/./g; $pattern; |