On branch fix-colons

Changes to be committed:
	modified:   main.go
		No longer replacing colons with ','
fix-colons
Mike Holloway 3 years ago
parent 7020adee58
commit 0ea14fd132
  1. 2
      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 {

Loading…
Cancel
Save