HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/douven.komma.pro/node_modules/coa/lib/shell.js
// Generated by CoffeeScript 1.6.3
exports.unescape = function(w) {
  w = w.charAt(0) === '"' ? w.replace(/^"|([^\\])"$/g, '$1') : w.replace(/\\ /g, ' ');
  return w.replace(/\\("|'|\$|`|\\)/g, '$1');
};

exports.escape = function(w) {
  w = w.replace(/(["'$`\\])/g, '\\$1');
  if (w.match(/\s+/)) {
    return '"' + w + '"';
  } else {
    return w;
  }
};