Missing ? operator in Erlang

Issue #653 resolved
EddArmitage created an issue

I've recently had a problem with pygmentize not correctly parsing some Erlang code that used the ? operator (Full story here: http://tex.stackexchange.com/questions/14166/red-box-drawn-around-question-mark-operator-in-minted-erlang-code/).

The fix was to add an escaped ? term to the regex of line 659 in functional.py, so it now reads {{{ operators = r'(+|-|*|/|<|>|=|==|/=|=:=|=/=|=<|>=|++|--|<-|!|\?)' }}} This seems to fix the issue.

Comments (1)

  1. Log in to comment