more consistent formatting of regular expressions