I have a javascript function with the line:
num = num.toString().replace(/\$|\,/g,'');

When I deploy to jboss 3.2.3 the function works as expected and view source 
tells me the line has not changed.

But when I deploy to JBoss 4.0.1 and view source the line changes to:
num = num.toString().replace(/$|\,/g,'');

That is the /\ is changed to /.

Does anyone know why this would be the case?

Any ideas / help would be appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861876#3861876

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861876


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to