Class ITER_regex

  • All Implemented Interfaces:

    public class ITER_regex
    extends 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.
    Noorani Bakerally <noorani.bakerally at>, Maxime Lefrançois
    • Field Summary

      Modifier and Type Field Description
      static java.lang.String URI  
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkBuild​(ExprList args)
      Partially checks if the iterator function can be executed with the given arguments.
      java.util.List<java.util.List<NodeValue>> exec​(java.util.List<NodeValue> args)
      IteratorFunction call to a list of evaluated argument values.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait