Make createRegex part of utils.
Merge branch 'master' of github.com:jive/JiveJS-Commons