Fixed regex issues.