Fixed regex not matching special characters