You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.4 KiB
JSON

{
"contains": [
{
"className": "number",
"begin": "^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b",
"relevance": 5
},
{
"className": "number",
"begin": "\\b\\d+\\b",
"relevance": 0
},
{
"className": "string",
"begin": "\"(GET|POST|HEAD|PUT|DELETE|CONNECT|OPTIONS|PATCH|TRACE)",
"end": "\"",
"keywords": "GET POST HEAD PUT DELETE CONNECT OPTIONS PATCH TRACE",
"illegal": "\\n",
"relevance": 5,
"contains": [
{
"begin": "HTTP\/[12]\\.\\d",
"relevance": 5
}
]
},
{
"className": "string",
"begin": "\\[\\d[^\\]\\n]{8,}\\]",
"illegal": "\\n",
"relevance": 1
},
{
"className": "string",
"begin": "\\[",
"end": "\\]",
"illegal": "\\n",
"relevance": 0
},
{
"className": "string",
"begin": "\"Mozilla\/\\d\\.\\d \\(",
"end": "\"",
"illegal": "\\n",
"relevance": 3
},
{
"className": "string",
"begin": "\"",
"end": "\"",
"illegal": "\\n",
"relevance": 0
}
]
}