From 151214764a055b5e56a122bd8e843cde8f360db3 Mon Sep 17 00:00:00 2001
From: G2-Games <ke0bhogsg@gmail.com>
Date: Wed, 29 May 2024 21:30:53 -0500
Subject: [PATCH] Fixed regex for editing title

---
 src/netmd/commands.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/netmd/commands.rs b/src/netmd/commands.rs
index ae845e1..d082efa 100644
--- a/src/netmd/commands.rs
+++ b/src/netmd/commands.rs
@@ -419,7 +419,7 @@ impl NetMDContext {
             let new_fw_name_with_groups;
             if has_fw_groups {
                 if has_fw_groups_and_title {
-                    let re = Regex::new("/^0;.*?///").unwrap();
+                    let re = Regex::new(r"^0;.*?//").unwrap();
                     new_fw_name_with_groups = re
                         .replace_all(
                             &old_raw_fw_name,
@@ -432,7 +432,7 @@ impl NetMDContext {
                         .into()
                 } else {
                     new_fw_name_with_groups =
-                        format!(r"0;{}//{}", new_fw_name.unwrap(), old_raw_fw_name);
+                        format!("0;{}//{}", new_fw_name.unwrap(), old_raw_fw_name);
                 }
             } else {
                 new_fw_name_with_groups = new_fw_name.unwrap();
@@ -450,7 +450,7 @@ impl NetMDContext {
         let new_name_with_groups;
         if has_groups {
             if has_groups_and_title {
-                let re = Regex::new(r"/^0;.*?\/\//").unwrap();
+                let re = Regex::new(r"^0;.*?\/\/").unwrap();
                 new_name_with_groups = re
                     .replace_all(
                         &old_raw_name,