summaryrefslogtreecommitdiffstats
path: root/urpmf
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-12 15:09:44 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-12 15:09:44 +0000
commit7b8371c9246ef38555758192af99af8f60de0a64 (patch)
tree223980e0a650c3392ac461470eeac8b1faaaf4d4 /urpmf
parent3080e922e4cc435eba510a8bb56398f8f19e11e7 (diff)
downloadurpmi-7b8371c9246ef38555758192af99af8f60de0a64.tar
urpmi-7b8371c9246ef38555758192af99af8f60de0a64.tar.gz
urpmi-7b8371c9246ef38555758192af99af8f60de0a64.tar.bz2
urpmi-7b8371c9246ef38555758192af99af8f60de0a64.tar.xz
urpmi-7b8371c9246ef38555758192af99af8f60de0a64.zip
4.2-17mdk
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpmf b/urpmf
index 2fe4ec9f..40a9be12 100755
--- a/urpmf
+++ b/urpmf
@@ -92,7 +92,8 @@ while (defined($_ = shift @ARGV)) {
/^-a$/ and do { $expr .= ' && '; next };
/^-o$/ and do { $expr .= ' || '; next };
/^[!\(\)]$/ and do { $expr .= $_; next };
- #- assume a regex directly
+ #- assume a regex directly unless a ++ is inside the string, someother to use ?
+ /\+\+/ and $_ = quotemeta $_;
$expr .= 'm{'.$_.'}'.$pattern;
}