diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2022-08-13 22:40:26 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2022-08-13 22:40:37 +0900 |
| commit | 83515d5610164b29888a917827cdfb6bde889c1c (patch) | |
| tree | 05cc5da2fa030390b8ba0992e801e1b93c29be93 /src/ansi_test.go | |
| parent | aa10dccf900b5f0bdad475663f5dfe70757ea29d (diff) | |
| download | fzf-83515d5610164b29888a917827cdfb6bde889c1c.tar.gz | |
Update ANSI test cases
Diffstat (limited to 'src/ansi_test.go')
| -rw-r--r-- | src/ansi_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ansi_test.go b/src/ansi_test.go index 657cf4e0..f352c99e 100644 --- a/src/ansi_test.go +++ b/src/ansi_test.go @@ -22,7 +22,7 @@ import ( // (archived from http://ascii-table.com/ansi-escape-sequences-vt-100.php) // - http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x405.html // - https://invisible-island.net/xterm/ctlseqs/ctlseqs.html -var ansiRegexReference = regexp.MustCompile("(?:\x1b[\\[()][0-9;]*[a-zA-Z@]|\x1b][0-9];[[:print:]]+(?:\x1b\\\\|\x07)|\x1b.|[\x0e\x0f]|.\x08)") +var ansiRegexReference = regexp.MustCompile("(?:\x1b[\\[()][0-9;:]*[a-zA-Z@]|\x1b][0-9][;:][[:print:]]+(?:\x1b\\\\|\x07)|\x1b.|[\x0e\x0f]|.\x08)") func testParserReference(t testing.TB, str string) { t.Helper() |
