<table><tr><td style="">mwolff created this revision.<br />Restricted Application added a subscriber: kdevelop-devel.<br />mwolff requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11933">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The old code joined all filter segments and then used that to match<br />
it against the last path segment. This is quite odd behavior, imo:<br />
If I type "foo/bar", then I wouldn't expect it to match a file called<br />
"fooXbar". On the other hand, I would expect "foo/bar" to fuzzy-match<br />
"foo/xBxAxRx", since the "foo" segment is matched and then "bar" is<br />
fuzzy-matched against the "xBxAxRx" segment.</p>

<p>The new tests fuzzy2, fuzzy3 and fuzzy5 fail with the old code but<br />
pass with the new, simplified code.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11933">https://phabricator.kde.org/D11933</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kdevplatform/language/interfaces/abbreviations.cpp<br />
kdevplatform/language/interfaces/abbreviations.h<br />
kdevplatform/language/interfaces/quickopenfilter.h<br />
plugins/quickopen/tests/test_quickopen.cpp</div></div></div><br /><div><strong>To: </strong>mwolff<br /><strong>Cc: </strong>kdevelop-devel<br /></div>