<table><tr><td style="">ahmadsamir created this revision.<br />ahmadsamir added reviewers: KTextEditor, dhaumann, cullmann.<br />Herald added projects: Kate, Frameworks.<br />ahmadsamir 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/D23457">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Do away with the kateregexp class; move isMultiLine() to kateregexpsearch</li>
<li class="remarkup-list-item">\s can match a newline</li>
<li class="remarkup-list-item">Dot '.' will match any character except a newline by default; it can be set to match a newline if QRegularExpression::DotMatchesEverythingOption is set, right now it can be set implicitly as a match directive, '(?s)', in the search pattern</li>
<li class="remarkup-list-item">Explicitly enable QRegularExpression::MultilineOption, more details about that are in KateRegExpSearch::search()</li>
<li class="remarkup-list-item">Update the relevant unit tests (searchbar_test, regexpsearch_test)</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>All unit tests pass except for vimode_emulatedcommandbar</p>
<p>Search away, test it for as long as possible before committing</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>BRANCH</strong><div><div>ahmad/qregularexpression (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23457">https://phabricator.kde.org/D23457</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/src/regexpsearch_test.cpp<br />
autotests/src/regexpsearch_test.h<br />
src/CMakeLists.txt<br />
src/document/katedocument.cpp<br />
src/search/kateplaintextsearch.cpp<br />
src/search/kateregexp.cpp<br />
src/search/kateregexp.h<br />
src/search/kateregexpsearch.cpp<br />
src/search/kateregexpsearch.h<br />
src/search/katesearchbar.cpp<br />
src/search/katesearchbar.h<br />
src/utils/katesedcmd.cpp<br />
src/utils/katesedcmd.h</div></div></div><br /><div><strong>To: </strong>ahmadsamir, KTextEditor, dhaumann, cullmann<br /><strong>Cc: </strong>kde-frameworks-devel, kwrite-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>