Skip to content

Commit

Permalink
Merge pull request aquasecurity#57 from aquasecurity/Update-regex
Browse files Browse the repository at this point in the history
Change space to /s in regex query
  • Loading branch information
lizrice authored Oct 23, 2019
2 parents de62def + b840cb3 commit c906d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auditeval/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func getFlagValue(s, flag string) string {
pttns := []string{
flag + `\s*=\s*"(.*)"`,
flag + `\s*=([^ \n]*)`,
flag + ` +([^- ]+)`,
flag + `\s+([^-\s]+)`,
`(?:^| +)` + `(` + flag + `)` + `(?: |$)`,
}
for _, pttn := range pttns {
Expand Down

0 comments on commit c906d01

Please sign in to comment.