patternList.add(Pattern.compile(packageRegex));
patternList.add(Pattern.compile(packageRegex).matcher(""));
	public void addAllowedPackage(String packageName) {		if (packageName.endsWith(".")) {			packageName = packageName.substring(0, packageName.length() - 1);		}				// Note: \u0024 is the dollar sign ("$")		String packageRegex = "\\Q" + packageName.replace('.', '/') + "\\E" +			"\\/[A-Za-z_\\u0024][A-Za-z_\\u0024\\d]*\\.class$";		if (DEBUG) System.out.println("Package regex: " + packageRegex);		patternList.add(Pattern.compile(packageRegex));	}