Operator character replacement bugfix (regexp used to replace all occurences)