From 0ea14fd1325765274705edc0ab21c6fea65c04d8 Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Thu, 24 Jun 2021 23:01:12 -0400 Subject: [PATCH] On branch fix-colons Changes to be committed: modified: main.go No longer replacing colons with ',' --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 76076c8..6167b83 100644 --- a/main.go +++ b/main.go @@ -26,7 +26,7 @@ func check(e error) { } func tcp_rows(connections_file string) { - regexpression := regexp.MustCompile(`[^a-zA-Z0-9\r\n\t\v]+`) + regexpression := regexp.MustCompile(`[^a-zA-Z0-9:\r\n\t\v]+`) tcp_lines := strings.Split(connections_file, "\n") for _, line := range tcp_lines {