Skip to content

Commit 3dee045

Browse files
committed
📚 Document SEARCH command, list extensions
1 parent 9fb8fd2 commit 3dee045

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

lib/net/imap.rb

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,9 +1122,14 @@ def uid_expunge(uid_set)
11221122
#
11231123
# ===== Search criteria
11241124
#
1125-
# The following are some common search criteria;
1126-
# see [{IMAP4rev1 §6.4.4}[https://www.rfc-editor.org/rfc/rfc3501.html#section-6.4.4]]
1127-
# for a full list:
1125+
# For a full list of search criteria,
1126+
# see [{IMAP4rev1 §6.4.4}[https://www.rfc-editor.org/rfc/rfc3501.html#section-6.4.4]],
1127+
# or [{IMAP4rev2 §6.4.4}[https://www.rfc-editor.org/rfc/rfc9051.html#section-6.4.4]],
1128+
# in addition to documentation for
1129+
# any [CAPABILITIES[https://www.iana.org/assignments/imap-capabilities/imap-capabilities.xhtml]]
1130+
# reported by #capability which may define additional search filters, e.g:
1131+
# +CONDSTORE+, +WITHIN+, +FILTERS+, <tt>SEARCH=FUZZY</tt>, +OBJECTID+, or
1132+
# +SAVEDATE+. The following are some common search criteria:
11281133
#
11291134
# <message set>:: a set of message sequence numbers. "<tt>,</tt>" indicates
11301135
# an interval, "+:+" indicates a range. For instance,

0 commit comments

Comments
 (0)