Author | Jamozed <[email protected]> |
Date | 2021-07-07 04:39:09 |
Commit | d6cb20d9742a26b489d9bea0ce1198bf34cd9824 |
Parent | f9dfc339638952b93bdf56d1fe0c697d0aa6e23e |
Adjust rule matching to fit ISO 14977
Diffstat
M | syntaxes/ebnf.tmLanguage.json | | | 4 | ++-- |
1 files changed, 2 insertions, 2 deletions
diff --git a/syntaxes/ebnf.tmLanguage.json b/syntaxes/ebnf.tmLanguage.json index fc14c64..c931bd3 100644 --- a/syntaxes/ebnf.tmLanguage.json +++ b/syntaxes/ebnf.tmLanguage.json @@ -13,12 +13,12 @@ "patterns": [ { "name": "keyword.other.ebnf", - "match": "\\b(?:TODO|FIXME)\\b" + "match": "\\b(TODO|FIXME)\\b" } ] }, "rule": { - "begin": "([\\w]+)\\s*(=)\\s*", + "begin": "([a-zA-Z_][a-zA-Z0-9_]*)\\s*(=)", "end": "(;)", "beginCaptures": { "1": { "name": "entity.name.class.ebnf" },