From 443088f6093d3420212be0e1af3b9e802dca9362 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 6 Aug 2024 22:03:31 +0300 Subject: Add support for advanced package search --- mod/utility.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mod/utility.hxx') diff --git a/mod/utility.hxx b/mod/utility.hxx index 43527ae..07fbf8b 100644 --- a/mod/utility.hxx +++ b/mod/utility.hxx @@ -19,6 +19,13 @@ namespace brep ? path_cast (dir / ('@' + tenant)) : dir; } + + // Transform the wildcard to the `SIMILAR TO` pattern. + // + // Note that the empty wildcard is transformed to the '%' pattern. + // + string + wildcard_to_similar_to_pattern (const string&); } #endif // MOD_UTILITY_HXX -- cgit v1.1