D24354: Mustache/Handlebars: fix delimiters in HTML tags

Nibaldo González noreply at phabricator.kde.org
Wed Oct 2 11:02:03 BST 2019


nibags added a comment.


  Indeed, WordDetect checks only the boundaries. What happens is that when using WordDetect with `<tag`, you need a border character before `<`, when it shouldn't.
  That is, `<tag` will not match in the text: "word<tag>".
  It's correct to use RegExpr with `<tag\b` instead of WordDetect.

REPOSITORY
  R216 Syntax Highlighting

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

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...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20191002/a1eee4b2/attachment.html>


More information about the KWrite-Devel mailing list