mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 09:16:00 +00:00
Updated FAQ
This commit is contained in:
parent
ed6fb67b42
commit
064ce7d97c
2 changed files with 4 additions and 4 deletions
4
FAQ.md
4
FAQ.md
|
@ -2804,10 +2804,10 @@ Please see [here](https://developer.android.com/reference/java/util/regex/Patter
|
||||||
Note that you need to match the complete text from the first to the last character.
|
Note that you need to match the complete text from the first to the last character.
|
||||||
You can test a regex [here](https://regexr.com/).
|
You can test a regex [here](https://regexr.com/).
|
||||||
|
|
||||||
You can use a regex like this to match a top-level domain (tld):
|
You can use a regex condition like this to match a top-level domain (tld):
|
||||||
|
|
||||||
```
|
```
|
||||||
.*@.*\.xyz.*
|
.*@.*\.xyz>
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that a regular expression supports an *or* operator, so if you want to match multiple senders, you can do this:
|
Note that a regular expression supports an *or* operator, so if you want to match multiple senders, you can do this:
|
||||||
|
|
|
@ -1530,8 +1530,8 @@ X-Google-Original-From: Somebody <somebody+extra@example.org></code></pre>
|
||||||
<pre><code>jsoup:html > body > div > a[href=https://example.org]</code></pre>
|
<pre><code>jsoup:html > body > div > a[href=https://example.org]</code></pre>
|
||||||
<p>You can use multiple rules, possibly with a <em>stop processing</em>, for an <em>or</em> or a <em>not</em> condition. Since version 1.2173 there is a <em>NOT</em> option for conditions that accept a regex.</p>
|
<p>You can use multiple rules, possibly with a <em>stop processing</em>, for an <em>or</em> or a <em>not</em> condition. Since version 1.2173 there is a <em>NOT</em> option for conditions that accept a regex.</p>
|
||||||
<p>Matching is not case sensitive, unless you use <a href="https://en.wikipedia.org/wiki/Regular_expression">regular expressions</a>. Please see <a href="https://developer.android.com/reference/java/util/regex/Pattern">here</a> 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 <a href="https://regexr.com/">here</a>.</p>
|
<p>Matching is not case sensitive, unless you use <a href="https://en.wikipedia.org/wiki/Regular_expression">regular expressions</a>. Please see <a href="https://developer.android.com/reference/java/util/regex/Pattern">here</a> 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 <a href="https://regexr.com/">here</a>.</p>
|
||||||
<p>You can use a regex like this to match a top-level domain (tld):</p>
|
<p>You can use a regex condition like this to match a top-level domain (tld):</p>
|
||||||
<pre><code>.*@.*\.xyz.*</code></pre>
|
<pre><code>.*@.*\.xyz></code></pre>
|
||||||
<p>Note that a regular expression supports an <em>or</em> operator, so if you want to match multiple senders, you can do this:</p>
|
<p>Note that a regular expression supports an <em>or</em> operator, so if you want to match multiple senders, you can do this:</p>
|
||||||
<pre><code>.*alice@example\.org.*|.*bob@example\.org.*|.*carol@example\.org.*</code></pre>
|
<pre><code>.*alice@example\.org.*|.*bob@example\.org.*|.*carol@example\.org.*</code></pre>
|
||||||
<p>Note that <a href="https://developer.android.com/reference/java/util/regex/Pattern#DOTALL">dot all mode</a> is enabled to be able to match <a href="https://tools.ietf.org/html/rfc2822#section-3.2.3">unfolded headers</a>.</p>
|
<p>Note that <a href="https://developer.android.com/reference/java/util/regex/Pattern#DOTALL">dot all mode</a> is enabled to be able to match <a href="https://tools.ietf.org/html/rfc2822#section-3.2.3">unfolded headers</a>.</p>
|
||||||
|
|
Loading…
Reference in a new issue