Package com.basistech.tclre


package com.basistech.tclre
This is a 100% Java version of the regular expression library from TCL, in turn derived from the "Henry Spencer" HSRE package. The public API to this package is designed to be close to the API of the standard Java regular library in java.util.regex. However:
  • The pattern language is not the same as the Java.
  • The pattern compilation flags are different; see PatternFlags
  • Matcher creation accepts ExecFlags which change the runtime behavior.
  • Not all of the options to Matcher are provided; note especially the lack of 'transparent bounds'.
The point of entry into the API is HsrePattern.compile(String, PatternFlags...). This returns an object that implements RePattern, which will in turn create objects that implement ReMatcher.