I'm trying to include some Erlang code samples in a document using the minted package which include the ? operator to denote a message being received from a process. The code
\documentclass{minimal}
\usepackage{minted}
\begin{document}
\begin{minted}{erlang}
A ! Msg1,
receive
A ? Msg2 ->
ok
\end{minted}
\end{document}
produces the following output:

with the ? operator being treated differently to the ! operator, and having a red box drawn around it. How can I remove this box and have it treated in the same way as the ! operator? I presumed pygmentize would treat them similarly in this context. Is there any way I can check that this assertion is true, and if it's not, modify how pygmentize treats it accordingly?
\renewcommand{\fcolorbox}[4][]{#4}. Not sure if there are any side-effects for this, though. – Lazar Ljubenović Jan 30 '17 at 10:52perldocseem to use\colorboxto mark errors. By using\renewcommand{\colorbox}[3][]{#3}you can override those colorboxes. – eco Jul 16 '20 at 10:29