]> git.lyx.org Git - lyx.git/commit
lyx_pot.py: Fix regex for \Format
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 7 Aug 2024 07:11:35 +0000 (09:11 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 7 Aug 2024 07:11:35 +0000 (09:11 +0200)
commit1efdc11296b0acf98d1180e18c0daa3e9a79bfec
treefb1ab9f02f8fa1d2147f5f3f522359c1b60cad8e
parent337a94a425b02b5fb685740f9f636c1696600e83
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.
po/lyx_pot.py