[LyX/master] lyx_pot.py: Fix regex for \Format

Jürgen Spitzmüller jspitzm at gmail.com
Wed Aug 7 07:16:07 UTC 2024


Am Mittwoch, dem 07.08.2024 um 07:14 +0000 schrieb Juergen
Spitzmueller:
> commit 1efdc11296b0acf98d1180e18c0daa3e9a79bfec
> Author: Juergen Spitzmueller <spitz at lyx.org>
> Date:   Wed Aug 7 09:11:35 2024 +0200
> 
>     lyx_pot.py: Fix regex for \Format
>     
>     Each token could be delimited by quotation marks or not. The
> previous
>     regexes only considered this for two tokens and hence produced
> wrong
>     matches for cases such as
>     
>     \Format gnuplot     "gp, gnuplot, plt"    "Gnuplot"     "" "" "" 
> "vector"      "text/plain"
>     
>     where the extension list wasn't parsed as a single token.

Should also go to stable.

-- 
Jürgen


More information about the lyx-devel mailing list