[PATCH] lyxpreview_tools.py: fix a regular expression

Neven Sajko nsajko at gmail.com
Sat Feb 15 19:29:37 UTC 2020


Actually, do something like this (no "using distributivity" like in my
first message, to get a minimal git diff)

def_re = re.compile(r"(\newcommandx|\renewcommandx|\global\long\def)(\[a-zA-Z]+)(.+)")

Regards,
Neven Sajko


More information about the lyx-devel mailing list