fix printf when using regex

This commit is contained in:
Johannes Winkelmann 2010-05-24 16:04:54 +02:00
parent f3fc62cda6
commit fb6dd8f99f
1 changed files with 1 additions and 1 deletions

View File

@ -1238,7 +1238,7 @@ void PrtGet::printf()
assertExactArgCount(1);
initRepo();
string filter = "*";
string filter = m_parser->useRegex() ? "." : "*";
if ( m_parser->hasFilter() ) {
filter = m_parser->filter();
}