Skip to content

Commit 97a7fb6

Browse files
committed
📚 Update #search documentation, search criteria
1 parent ff4fb2a commit 97a7fb6

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
@@ -1240,9 +1240,14 @@ def uid_expunge(uid_set)
12401240
#
12411241
# ===== Search criteria
12421242
#
1243-
# The following are some common search criteria;
1244-
# see [{IMAP4rev1 §6.4.4}[https://www.rfc-editor.org/rfc/rfc3501.html#section-6.4.4]]
1245-
# for a full list:
1243+
# For a full list of search criteria,
1244+
# see [{IMAP4rev1 §6.4.4}[https://www.rfc-editor.org/rfc/rfc3501.html#section-6.4.4]],
1245+
# or [{IMAP4rev2 §6.4.4}[https://www.rfc-editor.org/rfc/rfc9051.html#section-6.4.4]],
1246+
# in addition to documentation for
1247+
# any [CAPABILITIES[https://www.iana.org/assignments/imap-capabilities/imap-capabilities.xhtml]]
1248+
# reported by #capability which may define additional search filters, e.g:
1249+
# +CONDSTORE+, +WITHIN+, +FILTERS+, <tt>SEARCH=FUZZY</tt>, +OBJECTID+, or
1250+
# +SAVEDATE+. The following are some common search criteria:
12461251
#
12471252
# <message set>:: a set of message sequence numbers. "<tt>,</tt>" indicates
12481253
# an interval, "+:+" indicates a range. For instance,

0 commit comments

Comments
 (0)