Remove regex of when match tilde constraints