Fix #2533139 - Color tests failing in older IE's

regex.exec() was returning values of (empty String) instead of undefined in IE.

This fix corrects some failing tests in older IE's where they appear to be returning an empty string instead of `undefined`.

http://yuilibrary.com/projects/yui3/ticket/2533139

_updated by @davglass_