| 792 | } |
| 793 | |
| 794 | vector<string> getLongDescKeysByRegex(const string ®ex, |
| 795 | db_find_filter filter) |
| 796 | { |
| 797 | if (!DescriptionDB.get()) |
| 798 | { |
| 799 | vector<string> empty; |
| 800 | return empty; |
| 801 | } |
| 802 | |
| 803 | // FIXME: need to match regex against translated keys, which can't |
| 804 | // be done by db only. |
| 805 | return _database_find_keys(DescriptionDB.get(), regex, true, filter); |
| 806 | } |
| 807 | |
| 808 | vector<string> getLongDescBodiesByRegex(const string ®ex, |
| 809 | db_find_filter filter) |
no test coverage detected