W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

Small grammar problem

From: Robin Berjon <robin@w3.org>
Date: Sun, 28 Oct 2012 23:15:31 +0100
Message-ID: <508DAE83.1070802@w3.org>
To: public-script-coord@w3.org
Hi,

I found a small error in the grammar. The terminals are supposed to be 
given in Perl regex syntax, but the whitespace terminal has unescaped 
slashes:

[\t\n\r ]+|[\t\n\r ]*((//.*|/\*(.|\n)*?\*/)[\t\n\r ]*)+

whereas I believe you want

[\t\n\r ]+|[\t\n\r ]*((\/\/.*|\/\*(.|\n)*?\*\/)[\t\n\r ]*)+

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Monday, 29 October 2012 10:38:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:07 UTC