I have a msn contact whose jid is abc\40hotmail.com@mydomain, after AbstractJID.unescapedNode(String) is called, the string \40 in jid won’t be replaced into @
I wrote a test code, finding that regex should be /\40/g instead of /\40/g
var str : String = “abcde\40adfadsf”;
str = str.replace(/\40/g, “@”);