void () { assertMatches("h*:", "h:aaa"); assertMatches("h:", "h:aaa"); assertMatches("text:sh", "textField:shouldChangeCharactersInRange:replacementString:"); assertMatches("abc", "aaa:bbb:ccc"); assertMatches("textField:sh", "textField:shouldChangeCharactersInRange:replacementString:"); assertMatches("text*:sh", "textField:shouldChangeCharactersInRange:replacementString:"); }