D7827: Syntax indexer: Catch invalid a-Z/A-Z ranges in regexps

2017-09-15 Thread Dominik Haumann
dhaumann closed this revision. dhaumann added a comment. Committed with https://commits.kde.org/syntax-highlighting/dae1c761dd739a586fcd6d957510711bc5daff26 REPOSITORY R216 Syntax Highlighting REVISION DETAIL https://phabricator.kde.org/D7827 To: dhaumann, #framework_syntax_highlighting

D7827: Syntax indexer: Catch invalid a-Z/A-Z ranges in regexps

2017-09-15 Thread Christoph Cullmann
cullmann accepted this revision. cullmann added a comment. This revision is now accepted and ready to land. Looks reasonable, one consistency check more is always good! (hehe, and even found already things) REPOSITORY R216 Syntax Highlighting REVISION DETAIL https://phabricator.kde.org/

D7827: Syntax indexer: Catch invalid a-Z/A-Z ranges in regexps

2017-09-14 Thread Dominik Haumann
dhaumann created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. REVISION SUMMARY Motivated by incorrect regular expressions of the form [a-zA-z] or [a-Z], this patch extends the highlighting indexer to check for this kin