Skip to content

Commit 59a1604

Browse files
committed
Make new procfs tests complete
1 parent 3e50f77 commit 59a1604

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sources/proc_common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const (
3636

3737
var (
3838
numRegexPattern = regexp.MustCompile(`[0-9]*\.[0-9]+|[0-9]+`)
39-
jobidRegexPattern = regexp.MustCompile(`(?m:job_id:\s*"?([\d\w\-_.:+\/\\()]+)"?)`)
39+
jobidRegexPattern = regexp.MustCompile(`job_id:[ \t]*"?([^"\n\r]*)"?`)
4040
jobStatsRegexPattern = regexp.MustCompile(`(?ms:job_id:.*?$.*?(?:-|\z))`)
4141
)
4242

0 commit comments

Comments
 (0)