Merge pull request #50 from junaid18183/master

Fixed issue admission control showing wrong status
pull/51/head
Liz Rice 7 years ago committed by GitHub
commit a6d4f2fb59

@ -62,7 +62,8 @@ func (t *testItem) execute(s string) (result bool) {
// --flag=somevalue
// --flag
// somevalue
pttn := `(` + t.Flag + `)(=)*([^\s,]*) *`
//pttn := `(` + t.Flag + `)(=)*([^\s,]*) *`
pttn := `(` + t.Flag + `)(=)*([^\s]*) *`
flagRe := regexp.MustCompile(pttn)
vals := flagRe.FindStringSubmatch(s)

Loading…
Cancel
Save