Hello, Rasmus <[email protected]> writes:
>>> Another danger is that someone writes something like,
>>>
>>> \begin{center}
>>> \begin{table}
>>> ...
>>
>> You can start the regexp with "\\`[ \t]*..."
>
> The point is, that the env. will be center rather than table. So the code
> would detect the wrong environment.
But in this case, the caption is ambiguous anyway. Therefore, I see
nothing wrong here.
Regards,
--
Nicolas Goaziou
