Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:

> Hello,
>
> "Loris Bennett" <loris.benn...@fu-berlin.de> writes:
>
>>   re-search-forward("^[^%]*\\\\usepackage.*{biblatex}" nil t)
>
> This is a pathological regexp. [^%] is anything but a percent sign, so
> it can contain newline characters. Basically [^%]* can match an entire
> buffer if it doesn't contain any %.
>
> I think the regexp used in `reftex-using-biblatex-p' should be
>
>   "^[^%\n]*\\\\usepackage.*{biblatex}"
>
>
> Regards,

So should this be filed as a bug against Emacs?

In the meantime, aside from patching my own Emacs, would there be any
other workaround, particularly considering that I don't currently need
any biblatex functionality.

Cheers,

Loris

-- 
This signature is currently under construction.


Reply via email to