Skip to content

Commit

Permalink
Merge branch 'jfaer/parser_prefactor' into jfaer/spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffFaer committed Sep 23, 2024
2 parents 81540d1 + db6bd16 commit 83b2de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keepsorted/options_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var (
true: "yes",
false: "no",
}
keyRegex = regexp.MustCompile("(?P<key>[a-z_]+)=")
keyRegex = regexp.MustCompile("(^| )(?P<key>[a-z_]+)=")
)

type parser struct {
Expand Down

0 comments on commit 83b2de6

Please sign in to comment.