Closed Bug 1175818 Opened 9 years ago Closed 9 years ago

Regexp in filters

Categories

(Thunderbird :: Filters, defect)

38 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 19442

People

(Reporter: grzegorz.szyszlo, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150525141253

Steps to reproduce:

It is suggestion, not a bug.
When I create filter based on sender (for example), i fill text field with:
padre-dev@perlide.org
but what if I need some widecharacter?




Actual results:

wide/blank characters arent supported


Expected results:

currently i use multiple addresses like:
padre-dev@perlide.org
padre-adm@perlide.org
etc.
I want use the same with wide characters.
example for bash:
padre-*@perlide.org
example for pcre type regex:
^padre-[^@]+?@perlide.org$

for recognition how text should be parsed, i suggest add some prefix:
padre-dev@perlide.org             #plain without prefix
sh:padre-???*@perlide.org        #unix shell expansion type
pcre:^padre-[^@]+?@perlide\.org$  #perl regullar expression (pcre) expansion type
regexp:^padre-..*@perlide.org$  #eventually can be supported posix regexp type
Until it is implemented in core TB, you can use the filtraquilla extension at https://addons.mozilla.org/en-US/thunderbird/addon/filtaquilla/ .
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.