Skip to content

Commit 268d626

Browse files
committed
📚 Document SEARCH command, list extensions
1 parent 8cdef7e commit 268d626

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
@@ -1108,9 +1108,14 @@ def uid_expunge(uid_set)
11081108
#
11091109
# ===== Search criteria
11101110
#
1111-
# The following are some common search criteria;
1112-
# see [{IMAP4rev1 §6.4.4}[https://www.rfc-editor.org/rfc/rfc3501.html#section-6.4.4]]
1113-
# for a full list:
1111+
# For a full list of search criteria,
1112+
# see [{IMAP4rev1 §6.4.4}[https://www.rfc-editor.org/rfc/rfc3501.html#section-6.4.4]],
1113+
# or [{IMAP4rev2 §6.4.4}[https://www.rfc-editor.org/rfc/rfc9051.html#section-6.4.4]],
1114+
# in addition to documentation for
1115+
# any [CAPABILITIES[https://www.iana.org/assignments/imap-capabilities/imap-capabilities.xhtml]]
1116+
# reported by #capability which may define additional search filters, e.g:
1117+
# +CONDSTORE+, +WITHIN+, +FILTERS+, <tt>SEARCH=FUZZY</tt>, +OBJECTID+, or
1118+
# +SAVEDATE+. The following are some common search criteria:
11141119
#
11151120
# <message set>:: a set of message sequence numbers. "<tt>,</tt>" indicates
11161121
# an interval, "+:+" indicates a range. For instance,

0 commit comments

Comments
 (0)