texdef on MacOS 12.3 consistently throws error/warning
Brought to you by:
mscharrer
Hi Martin, after updating my Mac to MacOS 12.3, and TL 2022 I now consistently get an error/warning when running texdef:
I don't know if this is related to some change in the perl that ships with the MacOS, but I suspect it might be.
The perl version is:
This is perl 5, version 30, subversion 3 (v5.30.3)
Here's what happens with every invocation of latexdef:
alan$ latexdef \underline
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/^\\\@protected\@testopt { <-- HERE ?\\.*? }? *(\\\\.*?) / at /usr/local/bin/latexdef line 391.
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/^\\\@testopt { <-- HERE ?(\\.*?) }?/ at /usr/local/bin/latexdef line 394.
\underline:
macro:->\protect \underline
\underline :
\long macro:#1->\relax \ifmmode \@@underline {#1}\else $\@@underline {\hbox {#1}}\m@th $\relax \fi