Added invalid regex test