摘要:
public String regClass(String str){ String reg = "([^\\s=]+)=(['\"\\s]?)([^'\"]+)\\2(?=\\s|$|>)"; Pattern p = Pattern.compile(reg); Matcher matcher = p.matcher(str); r... 阅读全文
摘要:
记得是要加上 response.setContentType("text/html;charset=UTF-8"); request.setCharacterEncoding("UTF-8"); response.setCharacterEncoding("UTF-8"); 阅读全文