Skip to content

Commit 7640cad

Browse files
author
Samuel Tatasurya
committed
Modified regex for text string to handle escaped characters.
1 parent 6610d41 commit 7640cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yara/syntaxes/yara.tmLanguage

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
<key>name</key>
229229
<string>string.quoted.double.yara</string>
230230
<key>match</key>
231-
<string>\".*?\"</string>
231+
<string>\"(\\.|[^\\\"])*?\"</string>
232232
</dict>
233233
<!-- regexp -->
234234
<dict>

0 commit comments

Comments
 (0)