someone should review these re.match inputs.