Commit aa29ae23 by Victor M. Alvarez

Update example in README.

The previous example was out of data due changes in the API implemented in version 4.3.0 (https://github.com/VirusTotal/yara-python/pull/219)
parent 39ca6d38
......@@ -22,7 +22,15 @@ Here it goes a little example:
>>> print(matches[0].tags)
['bar']
>>> print(matches[0].strings)
[(10L, '$a', 'lmn')]
[$a]
>>> print(matches[0].strings[0].identifier)
$a
>>> print(matches[0].strings[0].instances)
[lmn]
>>> print(matches[0].strings[0].instances[0].offset)
10
>>> print(matches[0].strings[0].instances[0].matched_length)
3
Installation
......
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