diff options
author | Ashelyn Rose <git@ashen.earth> | 2024-09-30 19:48:01 -0600 |
---|---|---|
committer | Ashelyn Rose <git@ashen.earth> | 2024-09-30 19:48:01 -0600 |
commit | 1f75823875767d725fb86c4c53ce900d5a578325 (patch) | |
tree | 0f434b2e07358485f38f51cd74d319e501bfd92c /src/config.rs | |
parent | 67b1837ebd88cf3bff25aef2d536e7cb316eff98 (diff) |
Fix regex matching on multiline messages
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index 27911ea..7f18365 100644 --- a/src/config.rs +++ b/src/config.rs @@ -112,7 +112,7 @@ fn parse_regex<'de, D: Deserializer<'de>> (deserializer: D) -> Result<Regex, D:: } RegexBuilder::new(&pattern) - .multi_line(true) + .dot_matches_new_line(true) .case_insensitive(true) .build() .map_err(|e| D::Error::custom(e)) |