build: support directive without argument.
This commit is contained in:
parent
05a489e021
commit
fbdf9cea64
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ var (
|
|||
// Build the profiles with the following directive applied
|
||||
Directives = map[string]Directive{}
|
||||
|
||||
regDirective = regexp.MustCompile(`(?m).*` + Keyword + `([a-z]*) (.*)`)
|
||||
regDirective = regexp.MustCompile(`(?m).*` + Keyword + `([a-z]*)( .*)?`)
|
||||
)
|
||||
|
||||
// Main directive interface
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue