- From: Andy Seaborne <andy.seaborne@epimorphics.com>
- Date: Tue, 21 Dec 2010 13:01:09 +0000
- 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 UTC