From f3ca6625821689f8fa35e2cabc9873fd561b54d3 Mon Sep 17 00:00:00 2001 From: MatejKastak Date: Fri, 18 Aug 2023 17:00:26 +0200 Subject: [PATCH] fix: Incorrect syntax on regexp end Fox example: ```yara cuckoo.sync.mutex(/test\\/) ``` The last `/` was not detected as a end of string, because we only look at the preceding character is not escaping the end of regexp. But what if there is a another escape. --- editors/vscode/language/yara.tmLanguage.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editors/vscode/language/yara.tmLanguage.json b/editors/vscode/language/yara.tmLanguage.json index ee45a7e..9d91426 100644 --- a/editors/vscode/language/yara.tmLanguage.json +++ b/editors/vscode/language/yara.tmLanguage.json @@ -462,7 +462,7 @@ "regexp-strings": { "name": "string.regexp.yara", "begin": "(?