Skip to content

Commit 6649589

Browse files
authored
Remove incorrect question mark from requestline regex (#1302)
1 parent 2541f7e commit 6649589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntaxes/http.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
]
259259
}
260260
},
261-
"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+))?$",
261+
"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+))?$",
262262
"name": "http.requestline"
263263
},
264264
"response-line": {

0 commit comments

Comments
 (0)