summaryrefslogtreecommitdiffstats
path: root/src/repl
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-11-08 07:08:48 +0800
committerGitHub <noreply@github.com>2023-11-08 07:08:48 +0800
commite8461b846260299cb0a60de143950fbf5e91adfa (patch)
tree13a54a99697183fd3987763f5e5832f4e929aec2 /src/repl
parentc99bd015aa6ede7d306838c71d0ad6b89950a56b (diff)
downloadaichat-e8461b846260299cb0a60de143950fbf5e91adfa.tar.gz
refactor: output info includes auto_copy and light_theme (#230)
Diffstat (limited to 'src/repl')
-rw-r--r--src/repl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs
index 1143ab9..50330b6 100644
--- a/src/repl/mod.rs
+++ b/src/repl/mod.rs
@@ -43,7 +43,7 @@ const REPL_COMMANDS: [(&str, &str); 13] = [
lazy_static! {
static ref COMMAND_RE: Regex = Regex::new(r"^\s*(\.\S*)\s*").unwrap();
- static ref MULTILINE_RE: Regex = Regex::new(r#"(?ms)^\s*"""\s*(.*)\s*"""\s*$"#).unwrap();
+ static ref MULTILINE_RE: Regex = Regex::new(r#"(?s)^\s*"""\s*(.*)\s*"""\s*$"#).unwrap();
}
pub struct Repl {