Added defines for regular expressions.