W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > October 2012

/ missing in echar grammar rule

From: Gunnar Aastrand Grimnes <gromgull@gmail.com>
Date: Thu, 11 Oct 2012 16:27:58 +0200
Message-ID: <CAGm1ODkc4HpLmwoEQ5cptHxer2XM9i-ymv56KPGsdS8yNWpU_Q@mail.gmail.com>
To: public-rdf-dawg-comments@w3.org
Hi,

This is a minor thing, but the ECHAR grammar rule is given as:

ECHAR	  ::=  	'\' [tbnrf\"']

but a \\ is missing it has to be

ECHAR	  ::=  	'\' [tbnrf\"'\\]

so that you can parse escaped \'s like the one from test-case regex-query-003:

SELECT ?val
WHERE {
	ex:foo rdf:value ?val .
	FILTER regex(?val, "example\\.com")
}

Thanks!

- Gunnar


-- 
http://gromgull.net
Received on Saturday, 20 October 2012 20:28:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 October 2012 20:28:46 GMT