grammar: support numeric-only TTL values

This commit is contained in:
cn committed 2018-03-16 22:35:13 +01:00
1 parent 17de36de6a
commit 4dcaaa2215
3 files changed
+8 -1

No files matched your search

+1 -1
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'