--- a/src/primitives.cpp Sun Jun 16 00:10:11 2013 +0300 +++ b/src/primitives.cpp Sun Jun 16 00:48:09 2013 +0300 @@ -233,7 +233,8 @@ type = PrimitiveCategory::Filename; } else if (cmd == "t") { type = PrimitiveCategory::Title; - } + } else + continue; QRegExp regex (line.mid (colon + 1)); PrimitiveCategory::RegexEntry entry = { regex, type };