Closed rajeshnatarajkp closed 1 year ago
This is due to a backward-incompatible change in the API that was necessary to accommodate more information about each matching pattern. See the description for this commit: https://github.com/VirusTotal/yara-python/commit/65378d4dc87166dc7a96e345da036ab7311284fd
I've updated the README file, the example was out-of-date.
https://pypi.org/project/yara-python/4.3.0/ Expectation - print(matches[0].strings) [(10L, '$a', 'lmn')]
On local testing it shows only the index of the matched pattern -![image](https://user-images.githubusercontent.com/116689907/229011783-61b88a78-cbbe-44f1-9d8e-b7f5f54135fd.png)