Cleaned regex inefficiency.