Merge pull request #1 from iblis17/master

New feature: preview link for PDF files
Change the regexp matching procedure Remove debug message