<table><tr><td style="">nibags retitled this revision from "JavaScript: add binaries, fix octals and improve escapes" to "JavaScript: add binaries, fix octals, improve escapes & allow Non-ASCII identifiers".<br />nibags edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-cs6rnxeecfs6ejc/">(Show Details)</a>
</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/D13888">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>* In "JavaScript React" the context "Conditional Expression", which is unnecessary, is eliminated to simplify the code.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">* Add identifiers with Non-ASCII characters [3], to avoid highlighting RegExp and numbers after non-ASCII characters. This also applies to the highlighting of objects, functions and JSON properties.<br />
<br />
BUG: 393633<br />
<br />
<br />
</span>**References:**<div style="padding: 8px 0;">...</div>* [2] Standard ECMA-262, ECMAScript 2015 Language Specification. [11.8.4] String Literals: https://ecma-international.org/ecma-262/6.0/#sec-literals-string-literals<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
* [3] Valid JavaScript variable names in ES2015: https://mathiasbynens.be/notes/javascript-identifiers-es6<br />
</span></div></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/D13888">https://phabricator.kde.org/D13888</a></div></div><br /><div><strong>To: </strong>nibags, dhaumann, cullmann, Framework: Syntax Highlighting<br /><strong>Cc: </strong>kwrite-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>