Fix bibtex detection regex.