]> 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)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Wed, 7 Aug 2024 15:37:17 +0000 (11:37 -0400)
commite5e4cd608603f5c1c3a4561247f62f04df3c0f26
tree5928324b441fb21f18600e69d84d22385a8bdeaf
parent38e36c552d2bfaa3381042374264cf6699b57827
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.

(cherry picked from commit 1efdc11296b0acf98d1180e18c0daa3e9a79bfec)
po/lyx_pot.py