Regex class formatting cleanup.