Use refute_match instead of assert !~