<table><tr><td style="">sars added a comment.
</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/D9901" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>According to my tests build* does work as expected, but build/* does not work. I'm actually a bit surprised that the latter works in "Project" mode.</p>

<p>Basically this change would make it possible to exclude only directories with a "xxxx/*" pattern, at a the cost of a bit slower generation of the search-files-list as it would always iterates over the whole path+filename.</p>

<p>An alternative approach would be to check for '/' at the end of a pattern and in that case remove the '/' but only exclude directories. So in stead of "xxxx/*" we would have "xxxx/"....</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9901" rel="noreferrer">https://phabricator.kde.org/D9901</a></div></div><br /><div><strong>To: </strong>neundorf, sars, kwrite-devel<br /><strong>Cc: </strong>michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann<br /></div>