// public static final String STYLE = "style";
public static final String USER = "user";
public static String parseClientContent(String content) {
RegExp p = RegExp.compile("\\[{2}((?:.)*?)\\]{2}", "g");
MatchResult m;
StringBuffer sb = new StringBuffer();
int beginIndex = 0;
while ((m = p.exec(content)) != null) {
String one = m.getGroup(1);
String[] split = one.split("\\|");
int endIndex = m.getIndex();
sb.append(content.substring(beginIndex, endIndex));
sb.append("<a href=\"/#!p:" + URL.encodeQueryString(split[0])
+ "\">" + (split.length > 1 ? split[1] : split[0]) + "</a>");