private void init(Project p) { if (!alreadyInit) { this.regexp = FACTORY.newRegexp(p); alreadyInit = true; } } private void setPattern() {
/*** * Create a new regular expression matcher instance. * @return the matcher instance * @throws BuildException on error */ public Regexp newRegexp() throws BuildException { return newRegexp(null); }