Skip to content
Myr

Update ANSI test cases

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent aa10dcc · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/ansi_test.go+1 added-1 removed
20 unmodified lines
21// - https://web.archive.org/web/20090227051140/http://ascii-table.com/ansi-escape-sequences-vt-100.php22// (archived from http://ascii-table.com/ansi-escape-sequences-vt-100.php)23// - http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x405.html24// - https://invisible-island.net/xterm/ctlseqs/ctlseqs.html25var ansiRegexReference = regexp.MustCompile("(?:\x1b[\\[()][0-9;]*[a-zA-Z@]|\x1b][0-9];[[:print:]]+(?:\x1b\\\\|\x07)|\x1b.|[\x0e\x0f]|.\x08)")25var ansiRegexReference = regexp.MustCompile("(?:\x1b[\\[()][0-9;:]*[a-zA-Z@]|\x1b][0-9][;:][[:print:]]+(?:\x1b\\\\|\x07)|\x1b.|[\x0e\x0f]|.\x08)")2627func testParserReference(t testing.TB, str string) {28 t.Helper()29
399 unmodified lines