Fix color escape regex

This commit is contained in:
meehl committed 2026-08-12 14:10:00 +02:00
1 parent a2afd2de54
commit 4c581f92a8
1 file changed
+1 -1
+1 -1
View File
@@ -471,7 +471,7 @@ fn get_index_at_cur(
}
pub static ESCAPE_STR_REGEX: LazyLock<Regex> =
LazyLock::new(|| Regex::new(r"\^(?<idx>[0-9])|\^[x|X](?<hex>[0-9A-Fa-f]{6})").unwrap());
LazyLock::new(|| Regex::new(r"\^(?<idx>[0-9])|\^[xX](?<hex>[0-9A-Fa-f]{6})").unwrap());
fn build_layout_job<'a>(
text: &'a str,