grammar: make resource record class (like `IN`) optional

This commit is contained in:
cn 2018-01-29 20:39:19 +01:00
parent 95a07e54a5
commit 1f64694e75
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## 1.1.1
IMPROVEMENTS:
- Make resource record class (like `IN`) optional
## 1.1.0 (November 26, 2017)
NEW FEATURES:

View File

@ -29,7 +29,7 @@ repository:
name: 'variable.other.entry.control.zonefile'
}
{
begin: '((@)|([A-Za-z0-9_.-]+))?(\\s+\\d+[A-Za-z])?\\s+(IN|in|CH|ch)\\s+(\\w+)\\s+'
begin: '((@)|([A-Za-z0-9_.-]+))?(\\s+\\d+[A-Za-z])?(\\s+IN|in|CH|ch)?\\s+(\\w+)\\s+'
beginCaptures:
'2':
name: 'keyword.entry.resource.record.zonefile'