Skip to content

Commit

Permalink
Merge pull request #8 from dnozay/patch-1
Browse files Browse the repository at this point in the history
make TTL optional.
  • Loading branch information
sixty4k committed May 1, 2014
2 parents aa8f99f + a1333fe commit d907612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Bind Zone Files.json-tmlanguage
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{ "match": "\\d+(H|h|D|d|W|w|M|m|Y|y)",
"name": "variable.other.timeunit.zone_file"
},
{ "begin": "([A-Za-z0-9_.-]*)\\s+([0-9A-Za-z]*)\\s+([I|i][N|n]\\s+[A-Za-z]+)\\s+(.*)\\(",
{ "begin": "([A-Za-z0-9_.-]*)\\s+(?:([0-9A-Za-z]*)\\s+)?([I|i][N|n]\\s+[A-Za-z]+)\\s+(.*)\\(",
"beginCaptures": {
"2": { "name": "variable.other.timeunit.zone_file"},
"3": { "name": "keyword.resourcetype.zone_file" },
Expand All @@ -32,7 +32,7 @@
"end": "\\)",
"name": "string.quoted.single.address.zone_file"
},
{ "match": "([A-Za-z0-9_.-]*)\\s+([0-9A-Za-z]*)\\s+([I|i][N|n]\\s+[A-Za-z]+)\\s+(.*)",
{ "match": "([A-Za-z0-9_.-]*)\\s+(?:([0-9A-Za-z]*)\\s+)?([I|i][N|n]\\s+[A-Za-z]+)\\s+(.*)",
"name": "string.quoted.single.address.zone_file",
"captures": {
"2": { "name": "variable.other.timeunit.zone_file"},
Expand Down

0 comments on commit d907612

Please sign in to comment.