html terminal
Diffstat (limited to 'src/webhook.rs')
| -rw-r--r-- | src/webhook.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webhook.rs b/src/webhook.rs index f018917..9653925 100644 --- a/src/webhook.rs +++ b/src/webhook.rs @@ -181,7 +181,7 @@ impl OutputStyle for MindustryStyle { } static REGEX: LazyLock<Regex> = LazyLock::new(|| { - Regex::new(r#"(.+) has (dis)?connected. \[([a-zA-Z0-9+/]+==)\]"#).unwrap() + Regex::new(r"(.+) has (dis)?connected. \[([a-zA-Z0-9+/]+==)\]").unwrap() }); if let Some(captures) = REGEX.captures(line) { let player = unify(captures.get(1).unwrap().as_str()); |