A bug in AbstractJID.as?

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, “@”);

Would it be possible to get a patch that fixes this and a sample standalone plain as3 class which demonstrates this?