summary refs log tree commit diff
diff options
context:
space:
mode:
authorAshelyn Rose <git@ashen.earth>2024-09-30 19:48:01 -0600
committerAshelyn Rose <git@ashen.earth>2024-09-30 19:48:01 -0600
commit1f75823875767d725fb86c4c53ce900d5a578325 (patch)
tree0f434b2e07358485f38f51cd74d319e501bfd92c
parent67b1837ebd88cf3bff25aef2d536e7cb316eff98 (diff)
Fix regex matching on multiline messages
-rw-r--r--src/config.rs2
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))