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
