1
我有下面的代碼,它可以在GXT開發模式下完美地工作。但它不適用於GXT服務器模式。你能幫我解決這個問題嗎?字符串反向引用在GXT服務器模式下不起作用,但在GXT dev模式下工作
String stringValue = "Servicing";
if (stringValue != null && !stringValue.isEmpty()) {
String newData = stringValue.replaceAll("(?i)servi", "<mark>$0</mark>");
System.out.println(newData);
}