Class MessageMatcher


  • public class MessageMatcher
    extends java.lang.Object
    Matches against a substring defined by the [start, end) range argument. When a match occurs it updates the range's start pointer. This allows a single matcher instance to be used to match positions recursively. For example, while the outer block is being parsed at [0, 74] the inner block at [24, 73] can be recursively parsed using the same matcher, with the corresponding parse positions maintained in a range object within each stack frame. "{gender, select, female {guests plural one {her guest} other {her guests}}"