From 6649589e4d3f97d9c0d68a4f7ffe03fa2919c4df Mon Sep 17 00:00:00 2001 From: Dan Lapid Date: Thu, 10 Oct 2024 12:38:26 +0100 Subject: [PATCH] Remove incorrect question mark from requestline regex (#1302) --- syntaxes/http.tmLanguage.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntaxes/http.tmLanguage.json b/syntaxes/http.tmLanguage.json index 45b584fc..3b0544cc 100644 --- a/syntaxes/http.tmLanguage.json +++ b/syntaxes/http.tmLanguage.json @@ -258,7 +258,7 @@ ] } }, - "match": "(?i)^(?:(get|post|put|delete|patch|head|options|connect|trace|lock|unlock|propfind|proppatch|copy|move|mkcol|mkcalendar|acl|search)\\s+)?\\s*(.+?)(?:\\s+(HTTP\\/\\S+))?$", + "match": "(?i)^(?:(get|post|put|delete|patch|head|options|connect|trace|lock|unlock|propfind|proppatch|copy|move|mkcol|mkcalendar|acl|search)\\s+)\\s*(.+?)(?:\\s+(HTTP\\/\\S+))?$", "name": "http.requestline" }, "response-line": {