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.

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D24982

To: nibags, #framework_syntax_highlighting, dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, 
ngraham, bruns, demsking, cullmann, sars, dhaumann

Reply via email to