W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2010

Re: property paths three more test cases pp13, pp14, pp15

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Tue, 21 Dec 2010 13:01:09 +0000
Message-ID: <4D10A515.8090908@epimorphics.com>
To: Steve Harris <steve.harris@garlik.com>
CC: Axel Polleres <axel.polleres@deri.org>, SPARQL Working Group <public-rdf-dawg@w3.org>
>>
>> "xyz" is matched by "a*"
>
> To be strict, only the substring "" is matched by it.
>
> $ echo "xyz">  foo.txt
> $ egrep -o 'a*' foo.txt

"", or zero occurences of a is the (maximal length) match.

In SPARQL, regex("xyz", "a*") => true.

	Andy
Received on Tuesday, 21 December 2010 13:01:49 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:44 GMT