Closed
Bug 244752
Opened 20 years ago
Closed 20 years ago
Use of regular expressions in message filters
Categories
(MailNews Core :: Filters, enhancement)
MailNews Core
Filters
Tracking
(Not tracked)
People
(Reporter: gschrad, Assigned: sspitzer)
Details
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.6b) Gecko/20040113
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.6b) Gecko/20040113
In the message filter match criteria ("contains", "begins with", etc) an option
to treat the filter string as an extended regular expression would be helpful.
Criteria such as "contains regex" and "doesn't contain regex" would be good.
What I would like to be able to do is to filter on things like the top level
fragment of IP addresses. For instance:
"{128|236}[.][0-9]{1,3}[.][0-9]{1,3}[.][0-9]{1,3}"
The closest that I can get with the current filters are patterns like "contains"
"128." but filter terms like this can match much more than they are intended to.
Reproducible: Always
Steps to Reproduce:
N/A
Actual Results:
N/A
Expected Results:
N/A
Comment 1•20 years ago
|
||
This duplicate was particularly easy to locate. Please make more of an effort
to find bugs before opening new ones.
*** This bug has been marked as a duplicate of 66423 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•