added /me support and /g to Regex