summaryrefslogtreecommitdiffstats
path: root/base/prt-get/prt-get-5.16-printf_regex.diff
blob: a7e291304c9610ba106f1d75552f18d9ddc6de01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- prt-get-5.16.orig/src/prtget.cpp	2008-06-26 18:23:42.000000000 +0200
+++ prt-get-5.16/src/prtget.cpp	2008-12-06 15:13:58.950402225 +0100
@@ -1238,7 +1238,7 @@
     assertExactArgCount(1);
 
     initRepo();
-    string filter = "*";
+    string filter = m_parser->useRegex() ? "." : "*";
     if ( m_parser->hasFilter() ) {
         filter = m_parser->filter();
     }