Skip to content

Commit

Permalink
Allow - in process names
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthSim committed Aug 11, 2017
1 parent 4f0f27c commit f069298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion procfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type procfileEntry struct {
}

func parseProcfile(path string, portBase, portStep int) (entries []procfileEntry) {
re, _ := regexp.Compile("^(\\w+):\\s+(.+)$")
re, _ := regexp.Compile(`^([\w-]+):\s+(.+)$`)

f, err := os.Open(path)
fatalOnErr(err)
Expand Down

0 comments on commit f069298

Please sign in to comment.