Hi,

I would like to extend the base regex function in Jena to provide more than
one match result. For instance I would like the following rule

  [ myregex("the cat sat on the mat", \"(.at)\", ?token)

     " -> (<http://a> <http://b> ?token)]";

to return

 - [http://a, http://b, "cat"]

 - [http://a, http://b, "sat"]

 - [http://a, http://b, "mat"]

>From looking at how BindingEnvironment works I can only return with a
single binding per variable.

Anybody got any pointers for me? They would be most appreciated.

Cheers,

Rich

Reply via email to