Unverified Commit a0088516 by Mario Haustein Committed by GitHub

Fix unknown escape sequence (#244)

parent 0dd0ed3f
...@@ -719,7 +719,7 @@ class TestYara(unittest.TestCase): ...@@ -719,7 +719,7 @@ class TestYara(unittest.TestCase):
'rule test { strings: $a = /[M-N]iss/ nocase condition: $a }', 'rule test { strings: $a = /[M-N]iss/ nocase condition: $a }',
'rule test { strings: $a = /(Mi|ssi)ssippi/ nocase condition: $a }', 'rule test { strings: $a = /(Mi|ssi)ssippi/ nocase condition: $a }',
r'rule test { strings: $a = /ppi\tmi/ condition: $a }', r'rule test { strings: $a = /ppi\tmi/ condition: $a }',
'rule test { strings: $a = /ppi\.mi/ condition: $a }', r'rule test { strings: $a = /ppi\.mi/ condition: $a }',
'rule test { strings: $a = /^mississippi/ fullword condition: $a }', 'rule test { strings: $a = /^mississippi/ fullword condition: $a }',
'rule test { strings: $a = /mississippi.*mississippi$/s condition: $a }', 'rule test { strings: $a = /mississippi.*mississippi$/s condition: $a }',
], 'mississippi\tmississippi.mississippi\nmississippi') ], 'mississippi\tmississippi.mississippi\nmississippi')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment