Re: [LyX/master] Fix #13288

"Jürgen Spitzmüller" <[email protected]>
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
Am Dienstag, dem 10.03.2026 um 16:33 +0000 schrieb José Matos:
> ```
> if m :=  regexp.match(document.body[k]):
>     pretext, cmd, arg, posttext = m.group(1, 2, 3, 4)
> ```

Magic!

> I like this version because it is shorter and IMHO it is easier to
> read. On the other hand this is a matter of taste and the above code
> is correct.

I like it, too. There are other cases that could be simplified like
this in that method. Please go ahead, this is new syntax to me.

-- 
Jürgen
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.