BCCOM-156: Updated how the first character of the regex string is accessed so it will work in IE7+
Merge pull request #1 from bc-dplewis/7.x-1.x

BCCOM-156: Updated how the first character of the regex string is accessed