Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

when creating a message filter, how do you indicate selection of "ALLmessages@thewebsite.com"? Do you use a star before the @ to indicate every??

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 3 回表示
  • 最後の返信者: Zenos

more options

I'm creating a message filter for my Twitter account. I want every email from Twitter to go into that single folder. Do I simply type "*@twitter.com" to indicate that?

I'm creating a message filter for my Twitter account. I want every email from Twitter to go into that single folder. Do I simply type "*@twitter.com" to indicate that?

すべての返信 (2)

more options

Use from/ends with/twitter.com

"Begins with" can be used to filter just the local part of email addresses, i.e. the bit to the left of the @.

"Contains" will filter on the target string found anywhere within an email address, so could be used for your twitter filter as well. But "ends with" is more precise.

more options

I suspect the star or asterisk (*) is a legitimate character in an email address, so could not easily be used as a filter wildcard. You'd have to use some trickery to get Thunderbird to understand if you meant a star as opposed to it representing any sequence of characters.

There is a powerful pattern matching mechanism called regular expressions that uses a dot to indicate any character. So if you actually want to detect a dot, and nothing else, you'd have to "escape" the dot to cancel out its special meaning. So your search term would use the syntax \. to indicate a literal dot. Note that Thunderbird doesn't inherently offer regular expression pattern matching, so this talk about regular expressions is intended merely as an illustration of the problem with the asterisk.

So you can see that if we were to use an asterisk in a filter string, we would need a similar trick to allow literal asterisks to be found. "Ends with", "Contains" and "Begins with" are, to my mind, elegant ways around this conundrum.

If you think you might have a use for regular expressions in Thunderbird's filters and searches, you can add these to Thunderbird via two add-ons:

FiltaQuilla Expression Search.