<table><tr><td style="">volden created this revision.<br />volden added a project: KDevelop.
</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/D7554" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Upon further testing of Axels patch I stumbled upon a buglet introduced by commit c1cf56dd703cf83594347737c376c6f209ebf9b0</p>
<p>The expression intended for catching CMakeMultiline errors e.g.:</p>
<p>CMake Error: Error in cmake code at<br />
/some/path with spaces/to/a/project/CMakeLists.txt:10:</p>
<p>Where the regex would hit on the second line.</p>
<p>Now it also hits on lines such as this.</p>
<p>CMake Error at SecondSubDir/CMakeLists.txt:1:</p>
<p>Which means that the filename is extracted wrong and the user will be sent to a new file instead of the file with the error.</p>
<p>I have changed the regex in question and added a unittest that catches this scenario</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Unittests updated with testcase showing the isse</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7554" rel="noreferrer">https://phabricator.kde.org/D7554</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kdevplatform/outputview/outputfilteringstrategies.cpp<br />
kdevplatform/outputview/tests/test_filteringstrategy.cpp</div></div></div><br /><div><strong>To: </strong>volden, KDevelop<br /><strong>Cc: </strong>kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>