- From: Andy Seaborne <andy.seaborne@epimorphics.com>
- Date: Mon, 22 Oct 2012 13:47:17 +0100
- To: public-rdf-dawg-comments@w3.org
On 11/10/12 15:27, Gunnar Aastrand Grimnes wrote: > 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 [tbnrf\"'] is a set of characters - no escape rules. So the character \ really is a \, not an escape of the " i.e. it is there already. Andy
Received on Monday, 22 October 2012 12:47:51 UTC