DmitryBaranovskiy/raphael — Issue #495: problems with regular expressions an non-breaking whitespaces in some IE versions 
Author: Dude9177
Created: 2012-01-13 08:51:46+00:00
State: open

Some IE versions have problems with regular expressions containing "\s" (all white spaces) ... they don't match the non-breaking whitespace.
For example: this problem occurs in the line where you process a path like "Str(pathString).replace(pathCommand, function (a, b, c) {" ... and the pathString looks like "M1 1 10 10 5 5 Z" ... there the pathString isn't recognized in IE8 and so the path isn't drawn.

To get these code working you should add a "replace(/ /g, ' ')" for the pathString - result:
Str(pathString.replace(/ /g, ' ')).replace(pathCommand, function (a, b, c) {

Maybe this problem occurs everywhere where a regex containing "\s" is used to process a string!

Greetings Dude9177