Class MultilineNonConsumingRule

  • All Implemented Interfaces:
    IPredicateRule, IRule

    public class MultilineNonConsumingRule
    extends Object
    implements IRule, IPredicateRule
    Partitioning rule that finds a string included between two sequences The beginning and trailing sequences are not case sensitive The trailing sequence is not included and the character scanner is rewinded once the trailer is found.
    • Constructor Detail

      • MultilineNonConsumingRule

        public MultilineNonConsumingRule​(String startSequence,
                                         String[] endSequences,
                                         IToken token)
        Base constructor to specify start sequence, end sequence and token.
        Parameters:
        startSequence -
        endSequences -
        token -