net.sf.saxon.regex
public interface RegexIterator extends SequenceIterator
Method Summary | |
---|---|
String | getRegexGroup(int number)
Get a substring that matches a parenthesised group within the regular expression |
SequenceIterator | getRegexGroupIterator()
Get a sequence containing all the regex captured groups relating to the current matching item
(except group 0, because we want to use indexing from 1).
|
boolean | isMatching()
Determine whether the current item in the sequence is a matching item or a non-matching item |
Parameters: number the number of the group to be obtained
Returns: the substring of the current item that matches the n'th parenthesized group within the regular expression
Returns: true if the current item is a matching item