html terminal
Diffstat (limited to 'src/bot/schematic.rs')
| -rw-r--r-- | src/bot/schematic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot/schematic.rs b/src/bot/schematic.rs index 9098a59..41e6cd8 100644 --- a/src/bot/schematic.rs +++ b/src/bot/schematic.rs @@ -10,7 +10,7 @@ use std::path::Path; use std::sync::LazyLock; static RE: LazyLock<Regex> = - LazyLock::new(|| Regex::new(r#"(```)?(\n)?([^`]+)(\n)?(```)?"#).unwrap()); + LazyLock::new(|| Regex::new(r"(```)?(\n)?([^`]+)(\n)?(```)?").unwrap()); #[poise::command(context_menu_command = "Render schematic", category = "Info")] /// draw schematic. |