Made precompiled regular expressions.