String packageRegex = "^.*\\Q" + packageName.replace('.', '/') + "\\E" +
String packageRegex = "\\Q" + packageName.replace('.', '/') + "\\E" +
	public void addAllowedPackage(String packageName) {		// 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));	}