<table><tr><td style="">dhaumann requested changes to this revision.<br />dhaumann added a comment.<br />This revision now requires changes to proceed.
</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/D10621">View Revision</a></tr></table><br /><div><div><p>Btw, current generated list finds 1658 issues: <a href="https://paste.kde.org/p7iareuxc" class="remarkup-link" target="_blank" rel="noreferrer">https://paste.kde.org/p7iareuxc</a></p>

<p>Not all of them are correct, for instance</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">zsh.xml" line 919 RegExpr candidate for  "Detect2Chars" : "%1"</pre></div>

<p>I believe %1 in this case is a backreference in a dynamic context, so a change to Detect2Chars would be wrong.</p>

<p>Similarly, the suggestion</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">html-php.xml" line 223 RegExpr candidate for  "AnyChar" : "[^/><\"'\\s]"</pre></div>

<p>is also not correct, since [^xyz] means match everything _except_ xyz, so the ^ symbol negates this, afaik (or am I remembering incorrectly?)...</p>

<p>Still, there are many valid items which certainly can be optimized. So patches for fixes welcome! In small chunks, if possible!</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R216 Syntax Highlighting</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10621">https://phabricator.kde.org/D10621</a></div></div><br /><div><strong>To: </strong>jpoelen, dhaumann<br /><strong>Cc: </strong>Framework: Syntax Highlighting, dhaumann, Frameworks, michaelh, genethomas, cullmann, vkrause<br /></div>