Skip to content

Commit

Permalink
Merge pull request #933 from gtamba/932/escape_ansii_color
Browse files Browse the repository at this point in the history
Update ANSI escape regex
  • Loading branch information
flexatone committed May 14, 2024
2 parents 48d5cbf + babd2e8 commit c2d9840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static_frame/core/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class Display:
ANSI_ESCAPE = re.compile(
r'\x1B'
r'\['
r'(\d{1,2}(;\d{1,2})*)?' # Optional numeric codes separated by ;
r'(\d{1,3}(;\d{1,3})*)?' # Optional numeric codes separated by ;
r'[A-Za-z]' # Letter indicating the type of code; most often "m" for colors
)

Expand Down

0 comments on commit c2d9840

Please sign in to comment.