code: function processToEqual( textContent ) {
        // using [\s\S] to match newline as well
        var matcher = /^(Expected )([\s\S]*?) ((?:not )?to (?:equal|be) )([\s\S]*?)\.$/;
        var matches = textContent.match( matcher );
        return matches && {
           prefix: matches[ 1 ],
           left: matches[ 2 ],
           relationText: matches[ 3 ],
           right: matches[ 4 ]
        };
     }
docs: /////////////////////////////////////////////////////////////////////////////////////////////////////////