mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
committed by
Bjørn Erik Pedersen
parent
df85cb9ae2
commit
00fe7e0408
@@ -215,7 +215,7 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
boolRe = regexp.MustCompile(`^(true$)|(false$)`)
|
||||
boolRe = regexp.MustCompile(`^(true|false)$`)
|
||||
intRe = regexp.MustCompile(`^[-+]?\d+$`)
|
||||
floatRe = regexp.MustCompile(`^[-+]?\d*\.\d+$`)
|
||||
)
|
||||
|
Reference in New Issue
Block a user