moving regex patterns out, commenting out url matching for now, html encoding chat