Solved The function of "^" in the filter action
-
I notice that when I let Vivaldi create a filter based on an email by using the contextual menu on the email in the message
and then save this search as a filter - the resulting syntax of the filter action adds "^" and "," prefixes to the To and From emails.
Can someone please explain the functionality of these operators?
Perhaps we should always add them when we compose our filter manually for better results? -
So basically this is to stop us from showing addresses that start the same, but aren't entirely the same.
Now the search allows you to search for any parts of email addresses like
from:help.com
Would search for everyone that's sent you an email and works at help.com
Similarly you can search for
from:vivaldi
which would find anyone with vivaldi in their address like
[email protected]
or[email protected]
etc.Here's the reason for the above question.
Let's say you have two addresses that are completely different people Anna and Hanna.
Now I search for all email addresses from Anna.from:[email protected]
The issue is that would also show all of the emails
[email protected]
has been sending youThat's the reason the search uses
^
which means starts with and,
The comma is simply because the addresses are kept together for each email. Now we might fix that going forward so that ^ would be enough (if the email addresses are kept separately)Hope this explains it
Note: This also means that if you're sure[email protected]
is not part of any other address thenfrom:[email protected]
is plently -
It's a regular expression for "start with this as the first character". The comma is probably the delimiter if there are multiple mail recipients and it's not the first that you are searching for.
Not sure if it optimises the search or (what I'd suspect) just helps to not select other addresses that would have an additional prefix.
Something else: I'd like to ask you to remove the mail addresses from the picture...
-
So basically this is to stop us from showing addresses that start the same, but aren't entirely the same.
Now the search allows you to search for any parts of email addresses like
from:help.com
Would search for everyone that's sent you an email and works at help.com
Similarly you can search for
from:vivaldi
which would find anyone with vivaldi in their address like
[email protected]
or[email protected]
etc.Here's the reason for the above question.
Let's say you have two addresses that are completely different people Anna and Hanna.
Now I search for all email addresses from Anna.from:[email protected]
The issue is that would also show all of the emails
[email protected]
has been sending youThat's the reason the search uses
^
which means starts with and,
The comma is simply because the addresses are kept together for each email. Now we might fix that going forward so that ^ would be enough (if the email addresses are kept separately)Hope this explains it
Note: This also means that if you're sure[email protected]
is not part of any other address thenfrom:[email protected]
is plently -
@jumpsq
Thanks
I'll remove the picture -
-