function text = expand_codes(text) text = regexprep(text,'\@\|([^\|]*)\|','$1'); if (strcmp(text,'\n')) text = '
$1
\n'; end