Class ITER_regex
java.lang.Object
fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
fr.mines_stetienne.ci.sparql_generate.iterator.library.ITER_regex
- All Implemented Interfaces:
fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunction
public class ITER_regex
extends fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
Iterator function
iter:regex
iterates over the input subsequences captured by the ith groups of every
regex matches.
See Live example
- Param 1 (string) is the input string;
- Param 2 (string) is a regular expression;
- Param 3..N (integers) are the numbers of the groups to capture.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
exec
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
build, exec, getContext
-
Field Details
-
URI
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ITER_regex
public ITER_regex()
-
-
Method Details
-
exec
public List<List<org.apache.jena.sparql.expr.NodeValue>> exec(List<org.apache.jena.sparql.expr.NodeValue> args)- Specified by:
exec
in classfr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
-
checkBuild
public void checkBuild(org.apache.jena.sparql.expr.ExprList args)- Specified by:
checkBuild
in classfr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
-