On Mon, Jan 20, 2014 at 7:30 PM, Martynas Jusevičius
<marty...@graphity.org> wrote:
>
> For example, Pattern.compile(Pattern.quote("+35")) produces query with
>
> FILTER regex(str(?label), "\\Q+35\\E", "i")
>
> which returns no results. So I guess I can't use the Java syntax
> directly like that. How do I escape the string for SPARQL regex?

It's not quite clear to me what you're asking.  What doesn't work
about the following?

    filter regex(str(?label), "+35")

//JT

-- 
Joshua Taylor, http://www.cs.rpi.edu/~tayloj/

Reply via email to