Added optional pdfinfo when regex returns 0 pages for complex PDF's