fix(katana): add more workaround to regex

💀
This commit is contained in:
tretrauit 2024-01-10 23:05:32 +07:00
parent d46e0f8e6f
commit cde01d45d7

View File

@ -189,6 +189,8 @@ fn regexify_text(text: &String) -> String {
if prev_char.is_numeric() && prev_prev_char.is_whitespace() {
continue;
}
} else if ['R'].contains(&c) {
ascii_text.push_str("[Rk]");
} else if c.is_ascii_alphanumeric() {
ascii_text.push(c);
} else {