Corrected regular expressions.