W3C home > Mailing lists > Public > public-rdf-wg@w3.org > March 2011

[Turtle] EBNF error? (decimal and integer)

From: Gavin Carothers <gavin@topquadrant.com>
Date: Wed, 30 Mar 2011 15:32:18 -0700
Message-ID: <AANLkTikDkWUv6kuSVk78a6GSqdeeYd8ueGFmF=EvNDze@mail.gmail.com>
To: RDF-WG WG <public-rdf-wg@w3.org>
Had a bit more confusion regarding integer and decimal. From the
starting point:
http://www.w3.org/TeamSubmission/turtle/#sec-grammar-grammar

[16] integer ('-' | '+') ? [0-9]+
[18] decimal ('-' | '+')? ( [0-9]+ '.' [0-9]* | '.' ([0-9])+ | ([0-9])+ )

Sure looks (and I interpreted as) as if those both match the same
string. Happy to be told I'm just reading it wrong.

Cheers,
Gavin
Received on Wednesday, 30 March 2011 22:32:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:04 UTC