Improved regular expressions

I changed the regular expressions in order to increase the accuracy of
the in-text citation and reference page searches.