It also has great XPath support and makes partial attribute matching a breeze.
For example, to find all links to Amazon.com in a HTML document:
You can then iterate through
aLinks to do any additional filtering.
Nokogiri also supports the
ends-width in addition to the
There is also an excellent snippet over here on Stackoverflow talking about how to partial match node
content values - so you could easily do a partial match on link anchor text (in the above example).