This commit is contained in:
2026-07-29 07:03:21 +01:00
parent 15f1456fac
commit b90c8a7fef
7 changed files with 71 additions and 45 deletions
+5 -1
View File
@@ -15,5 +15,9 @@ struct RegexMatch {
std::vector<RegexGroup> groups{};
};
const std::vector<RegexMatch> regex_search(Shard *root, std::string_view pattern_str, uint32_t start_offset, uint32_t end_offset, uint32_t flags, bool global);
const std::vector<RegexMatch> regex_search(
Shard *root, std::string_view pattern_str,
uint32_t start_offset, uint32_t end_offset,
std::string_view options
);
void print_regex(const std::vector<RegexMatch> &matches);