<table><tr><td style="">heikobecker created this revision.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</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/D7478" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The unescaped hyphen caused a build failure with pcre2-10.30 due to a broken<br />
regex: 'syntax-highlighting/data/syntax/rest.xml" line 27 broken regex:<br />
"^\\s*\\.\\. [w-_\\.]+::(\\s|$)" problem: "range out of order in character<br />
class" at offset 12'.</p>
<p>The pcre2pattern documentation says this:</p>
<p>"Perl treats a hyphen as a literal if it appears before or after a POSIX class<br />
(see below) or before or after a character type escape such as as \d or \H.<br />
However, unless the hyphen is the last character in the class, Perl outputs a<br />
warning in its warning mode, as this is most likely a user error. As PCRE2 has<br />
no facility for warning, an error is given in these cases."</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>cmake && make && make test works fine pcre2-10.30, quick look at<br />
<a href="http://docutils.sourceforge.net/FAQ.txt" class="remarkup-link" target="_blank" rel="noreferrer">http://docutils.sourceforge.net/FAQ.txt</a> in kate seems fine.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R216 Syntax Highlighting</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/D7478" rel="noreferrer">https://phabricator.kde.org/D7478</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
data/syntax/rest.xml</div></div></div><br /><div><strong>To: </strong>heikobecker, Framework: Syntax Hightlighting, kfunk<br /><strong>Cc: </strong>Frameworks<br /></div>