WIP: Just added the regex, then went to more urgent

This commit is contained in:
Dandaedre 2024-06-16 19:44:36 +02:00
parent e724a81781
commit afee1540cc
1 changed files with 2 additions and 0 deletions

View File

@ -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> = regex_static::lazy_regex!(r"★+");
// / The regex for finding all (+/-) and replacing them with mathmode
// pub(crate) static RE: Lazy<Regex> = regex_static::lazy_regex!(r"\([+-]*\)");
impl From<&str> for TableGenerationTarget {
fn from(value: &str) -> Self {