A package for tree-pattern expressions and matching these expressions to Tree instances. The design is similar to the java.util.regex package. Internally, tree-pattern expressions are parsed using a parser designed with the javacc "compiler compiler" utility.

See TregexPattern for a description of the command-line utility version.

Note that the only classes which should be public are the TregexMatcher, TregexPattern and TregexPatternCompiler classes-- the others were automatically given public access by javacc although really they should be package-private. @author Roger Levy @author Galen Andrew