lib/commands/screenshot.js
function (version) {
    var vs = version.replace(/[^0-9\\.]/g, '');
    vs = vs.replace(/\./g, '_');
    return vs;
  }
function (version) {
    var vs = version.replace(/[^0-9\\.]/g, '');
    vs = vs.replace(/\./g, '_');
    return vs;
  }
function ( version ) { var vs = version . replace ( / [^0-9\\.] / g , '' ) ; vs = vs . replace ( / \. / g , '_' ) ; return vs ; }
Return the formatted os version

@method _parseOSVersion
@return {string} OS version
@private
Return the formatted os version