From bb77957ed449f74791c832eb039d570058a1d92f Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Sat, 26 Jun 2021 13:00:58 -0400 Subject: [PATCH] On branch master Changes to be committed: modified: main.go Adding '_' to characters ignored by regex replace. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 9e45210..22b714e 100644 --- a/main.go +++ b/main.go @@ -29,7 +29,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 {