Fixed RegExp error in IE8
Merge pull request #97 from PallasKatze/master

Fixed critical error in IE8