From f2386ea01f36fd0bf2054dafb656c0826ad51e45 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 26 Sep 2021 18:49:05 +0100 Subject: Add the regex_pcre2 module. --- include/modules/regex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/modules') diff --git a/include/modules/regex.h b/include/modules/regex.h index e4915cbe2..18180d2b8 100644 --- a/include/modules/regex.h +++ b/include/modules/regex.h @@ -139,7 +139,7 @@ class Regex::Exception final * @param error The error which occurred whilst compiling the regular expression. * @param offset The offset at which the errror occurred. */ - Exception(const std::string& regex, const std::string& error, int offset) + Exception(const std::string& regex, const std::string& error, size_t offset) : ModuleException("Error in regex '" + regex + "' at offset " + ConvToStr(offset) + ": " + error) { } -- cgit v1.3.1-10-gc9f91