Skip to content

Commit 6352a1e

Browse files
committed
prioritize CSI over C1
1 parent 7a24539 commit 6352a1e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

parse_logs.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@
2020
rf"""
2121
\x1B # ESC
2222
(?:
23-
{fe_bytes} # single-byte Fe
24-
|
2523
\[ # CSI
2624
{parameter_bytes}*
2725
{intermediate_bytes}*
28-
{final_bytes}*
26+
{final_bytes}
27+
| {fe_bytes} # single-byte Fe
2928
)
3029
""",
3130
re.VERBOSE,

0 commit comments

Comments
 (0)