fix(katana): add more workaround to regex
💀
This commit is contained in:
parent
d46e0f8e6f
commit
cde01d45d7
@ -189,6 +189,8 @@ fn regexify_text(text: &String) -> String {
|
|||||||
if prev_char.is_numeric() && prev_prev_char.is_whitespace() {
|
if prev_char.is_numeric() && prev_prev_char.is_whitespace() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
} else if ['R'].contains(&c) {
|
||||||
|
ascii_text.push_str("[Rk]");
|
||||||
} else if c.is_ascii_alphanumeric() {
|
} else if c.is_ascii_alphanumeric() {
|
||||||
ascii_text.push(c);
|
ascii_text.push(c);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user