通信时Ejabberd错误等待功能请求错误

时间:2016-09-06 22:27:43

标签: xmpp ejabberd ejabberd-module ejabberd-hooks

Pattern myRegex;
Matcher myMatch;
String myPattern = "";
String myString = "";
String myResult = "";

myString="surname; forename--+  + --++   "
myPattern="^(.*)[-+ ]*$"
//expected result = "surname; forename"
myRegex = Pattern.compile(myPattern);
myMatch = myRegex.matcher(myString);

if (myMatch.find( )) {
    myResult = myMatch.group(1);
} else {
    myResult = myString;
}

当XMPP主客户端应用程序尝试向请求驱动程序应用程序发送

时出现此错误

0 个答案:

没有答案