Regex is only used to try and determine the type from the contents for Any. I don't think this is great though since the types aren't very robust in VDF, so instead I think it would be better to error when trying to use Any and have ignored values just emit None instead
I've decided to not try to infer types since I see no obvious way to handle promoting types (a bool can become an int for example) so it's only likely to cause more problems than it solves
Regex is only used to try and determine the type from the contents for
Any
. I don't think this is great though since the types aren't very robust in VDF, so instead I think it would be better to error when trying to useAny
and have ignored values just emitNone
instead