| skipped 21 lines |
22 | 22 | | // (archived from http://ascii-table.com/ansi-escape-sequences-vt-100.php) |
23 | 23 | | // - http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x405.html |
24 | 24 | | // - https://invisible-island.net/xterm/ctlseqs/ctlseqs.html |
25 | | - | var ansiRegexReference = regexp.MustCompile("(?:\x1b[\\[()][0-9;]*[a-zA-Z@]|\x1b][0-9];[[:print:]]+(?:\x1b\\\\|\x07)|\x1b.|[\x0e\x0f]|.\x08)") |
| 25 | + | var ansiRegexReference = regexp.MustCompile("(?:\x1b[\\[()][0-9;:]*[a-zA-Z@]|\x1b][0-9][;:][[:print:]]+(?:\x1b\\\\|\x07)|\x1b.|[\x0e\x0f]|.\x08)") |
26 | 26 | | |
27 | 27 | | func testParserReference(t testing.TB, str string) { |
28 | 28 | | t.Helper() |
| skipped 401 lines |