Vlad uBlock's list contains some more advanced rules using regex or matching partial urls. For example the first one:
||01net.com/telecharger/$doc
It's is a well-known French press website about technology, but they also have a category where they redistribute software, and there have been several cases of badware being redistributed. The whole site should not be blocked, just this specific part.
If you need something to parse these blocklists, Brave has open-sourced their internal adblock engine written in Rust, with Python and JS bindings. I've already used it for a small project, it's really efficient if you need to support the full uBlock syntax.
Also, I don't think sites in these lists should be completely blocked, as there may be false positives. It could be hidden behind a message like "We have blocked X results that may be malicious - click to view them". And users should be able to completely disable that.