From 261d3d3340a9afa9925ec693a47ebe632d6870cb Mon Sep 17 00:00:00 2001 From: Hiroki Konishi Date: Tue, 28 Sep 2021 16:30:34 +0900 Subject: [PATCH] fix: replace broken links with archived ones --- src/ansi_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ansi_test.go b/src/ansi_test.go index 5621382..cdccc10 100644 --- a/src/ansi_test.go +++ b/src/ansi_test.go @@ -16,8 +16,10 @@ import ( // // References: // - https://github.com/gnachman/iTerm2 -// - http://ascii-table.com/ansi-escape-sequences.php -// - http://ascii-table.com/ansi-escape-sequences-vt-100.php +// - https://web.archive.org/web/20090204053813/http://ascii-table.com/ansi-escape-sequences.php +// (archived from http://ascii-table.com/ansi-escape-sequences.php) +// - https://web.archive.org/web/20090227051140/http://ascii-table.com/ansi-escape-sequences-vt-100.php +// (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)")