grep-like tool returning XPath/CSS patch of HTML-page matching elements