From afee1540ccca06d96ecfc7140ae38309e3079943 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Sun, 16 Jun 2024 19:44:36 +0200 Subject: [PATCH] WIP: Just added the regex, then went to more urgent --- src/table_structs.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/table_structs.rs b/src/table_structs.rs index fedb357..2fe83d8 100644 --- a/src/table_structs.rs +++ b/src/table_structs.rs @@ -117,6 +117,8 @@ pub(crate) static STR_TO_TARGET_FULL: phf::Map<&'static str, TableTargets> = phf /// The regex for finding and replacing all stars with a custom DD pub(crate) static RE: Lazy = regex_static::lazy_regex!(r"★+"); +// / The regex for finding all (+/-) and replacing them with mathmode +// pub(crate) static RE: Lazy = regex_static::lazy_regex!(r"\([+-]*\)"); impl From<&str> for TableGenerationTarget { fn from(value: &str) -> Self {