summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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))