diff --git a/lib/net/imap.rb b/lib/net/imap.rb index b9e39762..0c9ef411 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -1944,8 +1944,10 @@ def uid_expunge(uid_set) # # * When +criteria+ is an array, each member is a +SEARCH+ command argument: # * Any SequenceSet sends SequenceSet#valid_string. - # +Range+, -1, and nested +Array+ elements are converted to - # SequenceSet. + # These types are converted to SequenceSet for validation and encoding: + # * +Range+ + # * -1 translates to * + # * nested +Array+ # * Any +String+ is sent verbatim when it is a valid \IMAP atom, # and encoded as an \IMAP quoted or literal string otherwise. # * Any other +Integer+ (besides -1) will be sent as +#to_s+.