/ missing in echar grammar rule

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 UTC