Open
Description
👋 I'm the lead maintainer of the https://github.com/github/linguist library which is used for language detection and providing the syntax highlighting for languages on GitHub.com, and we use this grammar.
Our grammar compiler has found a problem with your grammar which I thought I'd let you know about.
This regex is invalid as the lookbehind assertion is not a fixed length (offset 25):
https://regex101.com/r/v6bHBI/1
This is the error our compiler reported:
Invalid regex in grammar: source.yara
(in yara/syntaxes/yara.tmLanguage.json
) contains a malformed regex (regex "(?<=(^|[\)]|\b(?:them)\b))(?:\s*
...": lookbehind assertion is not fixed length (at offset 25))
Metadata
Metadata
Assignees
Labels
No labels