/** * Does the given argument match the pattern? * @param input the string to match against * @param options the regex options to use * @return true if the pattern matches * @throws BuildException on error */ @Override public boolean matches(final String input, final int options) throws BuildException { return matcher.contains(input, getCompiledPattern(options)); }