You are right, this is a bug; but anyway, this is superceded by (which was lifted from the JSON spec to ensure compatibility).

Have fun,

Oren Ben-Kiki

On Sat, Nov 17, 2012 at 4:58 AM, Aaron Patterson <> wrote:

The regexp for base 10 floating point values listed on this page:


  [-+]?([0-9][0-9_]*)?\.[0-9.]*([eE][-+][0-9]+)? (base 10)

This regexp allows any number of dots in a row to be a valid base 10
float (for example "." or ".." or "....").  Shouldn't this regexp at
least be:

  [-+]?([0-9][0-9_]*)?\.[0-9]*([eE][-+][0-9]+)? (base 10)

Or am I missing something? (I realize the above regexp would match "."
as a valid float, but what are you going to do? ;-) ).

Thanks for your time.

Aaron Patterson

Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
Yaml-core mailing list