On branch master
Changes to be committed: modified: main.go Adding '_' to characters ignored by regex replace.
This commit is contained in:
parent
a46c855960
commit
bb77957ed4
2
main.go
2
main.go
@ -29,7 +29,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