On branch master
Changes to be committed: modified: main.go Adding '_' to characters ignored by regex replace.
This commit is contained in:
1 parent
a46c855960
commit
bb77957ed4
1 file changed
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user