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 {