function escapeRegExp (string) {
  return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')
}
Escape special characters for use in a regular expression
@param {String} string - String to escape
@returns {String} - Escaped string