CudaText: Lite lexer is broken (1.126.4 -> 1.127)

I have created a simple lite lexer for text files which so far has worked well. Now it’s broken, for instance the numbers are highlighted only v haphazardly.

{
  "about": "htxt",
  "files": "*.htxt;*.txt",
  "case_sens": true,
  "rules": {
    "keyword": {
      "regex": "^\\..+?\\b",
      "style": "IdKeyword"
    },
    "num": {
      "regex": "\\b(\\d+(\\.\\d+)?([eE][-\\+]?\\d+)?)\\b",
      "style": "Number"
    },
  }
}

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (10 by maintainers)

Commits related to this issue

Most upvoted comments