@Override
	public Object compile(String path) {
		path = requiresLowerCaseUrl ? path.toLowerCase() : path;

		// useTrailingSlashMatch
		path = (useTrailingSlashMatch && path.length() >= 1 && path.charAt(path.length() - 1) =='/')
				? path.substring(0, path.length() - 1): path;
		return path;
	}