From 7b8371c9246ef38555758192af99af8f60de0a64 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 12 Feb 2003 15:09:44 +0000 Subject: 4.2-17mdk --- urpmf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'urpmf') 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; } -- cgit v1.2.1