Skip to content

Commit

Permalink
fix bug in the parser
Browse files Browse the repository at this point in the history
  • Loading branch information
yassinebenaid committed Jul 15, 2023
1 parent 7ba639f commit 2faf624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func isValidValue(value string) bool {
if strings.HasPrefix(value, `"`) {
rx = regexp.MustCompile(`^"[^"]+"$`)
} else {
rx = regexp.MustCompile(`^.+$`)
rx = regexp.MustCompile(`^.*$`)
}

return rx.MatchString(value)
Expand Down

0 comments on commit 2faf624

Please sign in to comment.