These regexes could use some comments.