Improved Utils.escapeRegex test

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
gjslint nits

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>