Rewirte Regular Expressions.

Regular Expression is rewritten.