diff --git a/FAQ.md b/FAQ.md index ba18d8b03c..054e2fc388 100644 --- a/FAQ.md +++ b/FAQ.md @@ -2646,7 +2646,7 @@ Since version 1.1996 it is possible to use [Jsoup selectors](https://jsoup.org/c by prefixing the selector by *jsoup:* and entering it as text contains condition, like for example: ``` -html > body > div > a[href=https://example.org] +jsoup:html > body > div > a[href=https://example.org] ``` You can use multiple rules, possibly with a *stop processing*, for an *or* or a *not* condition. @@ -2694,6 +2694,14 @@ This will be more reliable than forwarding because forwarded messages might be c
+It is possible to use a [Jsoup selector](https://jsoup.org/cookbook/extracting-data/selector-syntax) to select the text for notes, for example: + +``` +jsoup:td > span:containsOwn(€) +``` + +
+ A *move* action can optionally create subfolders (since version 1.1966) to move messages to, for which you can use the following placeholders: ``` diff --git a/index.html b/index.html index 8b0e398f56..d1ac31db84 100644 --- a/index.html +++ b/index.html @@ -1426,7 +1426,7 @@ X-Google-Original-From: Somebody <somebody+extra@example.org>

When using a regex, you need to take care to match the complete address.

Note that message texts are normalized when not using a regex, which means that all whitespaces (spaces, tabs, line breaks, etc) are replaced by a single space. This makes it easier to match texts on multiple lines or when the line break is at different places.

Since version 1.1996 it is possible to use Jsoup selectors to match HTML elements, by prefixing the selector by jsoup: and entering it as text contains condition, like for example:

-
html > body > div > a[href=https://example.org]
+
jsoup:html > body > div > a[href=https://example.org]

You can use multiple rules, possibly with a stop processing, for an or or a not condition.

Matching is not case sensitive, unless you use regular expressions. Please see here for the documentation of Java regular expressions. Note that you need to match the complete text from the first to the last character. You can test a regex here.

Note that a regular expression supports an or operator, so if you want to match multiple senders, you can do this:

@@ -1443,6 +1443,7 @@ X-Google-Original-From: Somebody <somebody+extra@example.org>
  • Add star
  • Set importance (local priority)
  • Add keyword
  • +
  • Add local notes (since version 1.2094)
  • Move
  • Copy (Gmail: label)
  • Delete permanently (since version 1.1801)
  • @@ -1454,6 +1455,9 @@ X-Google-Original-From: Somebody <somebody+extra@example.org>

    Important: permanent deletion is irreversible. Instead, consider to move messages to the trash folder and to set up auto deletion for the trash folder in the folder properties (long press the folder in the folder list of an account).

    If you want to forward a message, consider to use a move action instead. This will be more reliable than forwarding because forwarded messages might be considered as spam.


    +

    It is possible to use a Jsoup selector to select the text for notes, for example:

    +
    jsoup:td > span:containsOwn(€)
    +


    A move action can optionally create subfolders (since version 1.1966) to move messages to, for which you can use the following placeholders:

    $day$ (since version 1.2030)
     $week$