Summary: | Quicksearch: non-alphanumeric characters in search term are ignored at word boundaries | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Thomas Arend <thomas> |
Component: | search | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | brendon, kdenis, mikemol, thomas |
Priority: | NOR | ||
Version: | 5.12.3 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Screenshot |
Description
Thomas Arend
2014-05-23 20:20:23 UTC
Created attachment 87783 [details]
Screenshot
Screen shot of wrong search result!
It looks like non-alphanumeric characters get stripped from the search. I notice that "[" also gets omitted from my search terms. Interesting... Using the filter term "/)(}{CMake****>=[)( for \/{}*[]…download:-)(<>=" still lists the message with subject "[ANNOUNCE] CMake 3.7.2 available for download". Replacing "CMake" with "Make" or "CMak", or "download" with "ownload" or "downloa", however, does not yield any results. Using "fo" or "or" instead of "for" does not make a difference, because words with less than three letters are ignored. Summary: "*ABCDE" matches "ABCDE" "ABCDE*" matches "ABCDE" "*BCDE" does not match "ABCDE" "ABCD*" does not match "ABCDE" The last two cases might be especially confusing if you are used to certain regular expressions. Obviously, only special characters at word boundaries are ignored. I'm pretty sure that most users would not expect this behaviour. Confirmed for 5.4.1. Still present in 5.12.3 (currently in Debian). I was hoping to filter based on a specific hyphenated term, but of course I also get a ton of other messages that contain all of the words separately, because of this bug. |