D24982: Small improvements in some XML files
noreply at phabricator.kde.org
Mon Dec 2 21:08:04 GMT 2019
nibags added a comment.
Captures can also be used without dynamic rules, for example in the regular expression: `("+)[^"]*\1`
In these cases, a `capture="true"` attribute can be used to enable captures, but in dynamic rules the detection will be automatic.
I could do a benchmark the test units with the disabled captures to check the improvement in performance, and see if these changes are worth making.
I don't know if you want to include this diff. If you prefer, I can update this diff, remove the inclusion of `?:` in regex and leave only the other improvements.
R216 Syntax Highlighting
To: nibags, #framework_syntax_highlighting, dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel