----- Le 18 Juil 21, à 23:53, Jean-Christophe Helary lists(a)traduction-libre.org a écrit :
>> Basically, the regex is this, right ?
>>
>> $buffer =~
>>
/^((?:.*?\n)?(?:[^%]|(?<!\\)(?:\\\\)*\\%)*?)(${RE_ESCAPE}(?:begin|end)\{.*)$/s
And basically, it looks for:
> # detect \begin and \end (if they are not commented)
Literally ?
François, who wrote these lines, left the project maybe 10 years ago, so I prefer not to
infer too much from the comments.
Sorry I cannot help
Mt