Closed
Bug 1302141
Opened 10 years ago
Closed 10 years ago
Attachment reminder should match words, not word ends
Categories
(Thunderbird :: Untriaged, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1201273
People
(Reporter: anastasius_zwerg, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160726073904
Steps to reproduce:
Add "here is" to the list of keywords in 'Check for missing attachments' ('Composition' options, 'General' tab)
Create a new email, enter the text "There is room for improvement"
<"here is" is one of my favorite phrases referring to attachments>
Actual results:
Improper reminder if the word(s) typed ends with the keyword(s): "Found an attachment keyword". That's because "There is" contains "here is".
Strange enough, it does not care about word boundary before the keyword, but it cares about the word boundary at the end. For text, this is not logical at all:
It does not remind me if I type "see attachments" and "attachment" is in the list, but the plural "attachments" is not listed.
Similarly, I get an (undue) reminder if "CV" is in the list, and I enter an acronym ending with "CV", such as "ACV", "BCV", etc.
Expected results:
Match should only occur if a complete word matches the keyword.
Exception: File extensions, like theFile.pdf, need special handling: If the keyword starts with a dot (or maybe, any punctuation character), it should not check for a preceding word boundary.
Alternatively, have some pattern matching or wildcard syntax for this case, e.g. "*.pdf". This would also allow for keywords like "attachment*".
| Reporter | ||
Updated•10 years ago
|
OS: Unspecified → Mac OS X
Hardware: Unspecified → All
Yes, regex experts welcome :)
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•