Prefixes a search criterion with FUZZY (RFC 6203), asking the server to match the criterion approximately (typically through its full-text search index) instead of by exact substring. Requires the server SEARCH=FUZZY capability, which is checked when the search is executed. Experimental: none of the reference servers used to validate this package advertises SEARCH=FUZZY, so the modifier follows the RFC grammar but has not been exercised against a live server.

fuzzy(criterion)

Arguments

criterion

A search criterion string, usually built with string (e.g. string(expr = "jump", where = "SUBJECT")).

Examples

if (FALSE) { # \dontrun{
con$select_folder(name = "INBOX")
res <- con$search(request = fuzzy(string(expr = "jump", where = "SUBJECT")))
} # }