| 420 | } // Print::printMetadata |
| 421 | |
| 422 | bool Print::grepTag(const std::string& key) { |
| 423 | bool result = Params::instance().greps_.empty(); |
| 424 | for (auto const& g : Params::instance().greps_) { |
| 425 | result = std::regex_search(key, g); |
| 426 | if (result) { |
| 427 | break; |
| 428 | } |
| 429 | } |
| 430 | return result; |
| 431 | } |
| 432 | |
| 433 | bool Print::keyTag(const std::string& key) { |
| 434 | bool result = Params::instance().keys_.empty(); |