diff options
| author | 2021-09-26 18:49:05 +0100 | |
|---|---|---|
| committer | 2021-09-26 19:16:51 +0100 | |
| commit | f2386ea01f36fd0bf2054dafb656c0826ad51e45 (patch) | |
| tree | 4e2f97451245d2b840a9433de7353947875ea75f /include/modules | |
| parent | Fix and optimise sending standard replies with variable parameters. (diff) | |
Add the regex_pcre2 module.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/regex.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) { } |
