mirror of
https://github.com/wahyd4/forego.git
synced 2026-08-08 21:01:01 +10:00
Allow hyphen for proc name (#60)
This commit is contained in:
committed by
David Dollar
parent
ea0c5b42d0
commit
62551d4c2e
+1
-1
@@ -10,7 +10,7 @@ import (
|
||||
"regexp"
|
||||
)
|
||||
|
||||
var procfileEntryRegexp = regexp.MustCompile("^([A-Za-z0-9_]+):\\s*(.+)$")
|
||||
var procfileEntryRegexp = regexp.MustCompile("^([A-Za-z0-9_-]+):\\s*(.+)$")
|
||||
|
||||
type ProcfileEntry struct {
|
||||
Name string
|
||||
|
||||
Reference in New Issue
Block a user