Adding a small test to verify that the regex worked. Apparently it's failing in IE8...