The h: prefix is not calibre specific, its XHTML specific. It indicates you are looking for the <p> tag in the XHTML name space. This is neccessary because the conversion pipeline internall converts everything to XHTML in the intermediate stage.
As far as I amaware calibre XPath implementation is bog standard and its regex implementation uses pythons regex implementation.
|