1
0
mirror of https://github.com/cmur2/language-zonefile.git synced 2025-06-26 12:30:24 +02:00

grammar: support numeric-only TTL values

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

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'