On branch master

Changes to be committed:
	modified:   main.go
		Adding '_' to characters ignored by regex replace.
pseudocode
Mike Holloway 4 years ago
parent a46c855960
commit bb77957ed4
  1. 2
      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 {

Loading…
Cancel
Save