protected static function _parseTex(string $data) {
        preg_match('{\\$\\$([\\S\\s]*?)\\$\\$}', $data, $matches);
        if (isset($matches[0])) {
            $str = str_replace(["\r", "\n"], '', $matches[1]);
            return $str;
        }
        return false;
    }
protected static function _parseTex(string $data) {
        preg_match('{\\$\\$([\\S\\s]*?)\\$\\$}', $data, $matches);
        if (isset($matches[0])) {
            $str = str_replace(["\r", "\n"], '', $matches[1]);
            return $str;
        }
        return false;
    }
protected static function _parseTex ( string $ data ) { preg_match ( '{\\$\\$([\\S\\s]*?)\\$\\$}' , $ data , $ matches ) ; if ( isset ( $ matches [ 0 ] ) ) { $ str = str_replace ( [ "\r" , "\n" ] , '' , $ matches [ 1 ] ) ; return $ str ; } return false ; }
Extract content from Maxima TeX output.

@param string $data
@return bool|mixed
Extract content from Maxima TeX output .