On branch fix-colons
Changes to be committed: modified: main.go No longer replacing colons with ','
This commit is contained in:
parent
7020adee58
commit
0ea14fd132
2
main.go
2
main.go
@ -26,7 +26,7 @@ func check(e error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func tcp_rows(connections_file string) {
|
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")
|
tcp_lines := strings.Split(connections_file, "\n")
|
||||||
|
|
||||||
for _, line := range tcp_lines {
|
for _, line := range tcp_lines {
|
||||||
|
Loading…
Reference in New Issue
Block a user