PrefixTree.match

Match text with the prefix tree.

@param text the input text to parse, not null @param pos the position to start parsing at, from 0 to the text length. Upon return, position will be updated to the new parse position, or unchanged, if no match found. @return the resulting string, or null if no match found.

  1. string match(string text, int off, int end)
  2. string match(string text, ParsePosition pos)
    class PrefixTree
    string
    match

Meta