docs: function (body, value, constant) {
  
              // we want to match "define('CONST', 'blah');" with any whitespace and any quote type
              // note that heredoc and now doc are NOT covered
  
              // Quote matching possiblities
              // JS doesn't support look backs, not sure if there is a more elegant solution (maybe with capture groups?)
              var envRegexSLSR = new RegExp("(define\\s*\\(\\s*[']" + constant + "[']\\s*,\\s*['])[^']*([']\\s*\\)\\s*;)"),
                  envRegexSLDR = new RegExp("(define\\s*\\(\\s*[']" + constant + "[']\\s*,\\s*[\"])[^\"]*([\"]\\s*\\)\\s*;)"),
                  envRegexDLDR = new RegExp("(define\\s*\\(\\s*[\"]" + constant + "[\"]\\s*,\\s*[\"])[^\"]*([\"]\\s*\\)\\s*;)"),
                  envRegexDLSR = new RegExp("(define\\s*\\(\\s*[\"]" + constant + "[\"]\\s*,\\s*['])[^']*([']\\s*\\)\\s*;)"),
                  envRegexSLNR = new RegExp("(define\\s*\\(\\s*[']" + constant + "[']\\s*,\\s*)[^\\s]+(\\s*\\)\\s*;)"),
                  envRegexDLNR = new RegExp("(define\\s*\\(\\s*[\"]" + constant + "[\"]\\s*,\\s*)[^\\s]+(\\s*\\)\\s*;)"),
                  lines = body.replace(/\r\n/g, '\n').split(/\n/),
                  output = [];
  
              lines.forEach(function (oneLine) {
                  // If a regex matches, that's it, we stop
  
                  var theEnv =    envRegexSLSR.exec(oneLine) ||
                                  envRegexSLDR.exec(oneLine) ||
                                  envRegexDLDR.exec(oneLine) ||
                                  envRegexDLSR.exec(oneLine) ||
                                  envRegexSLNR.exec(oneLine) ||
                                  envRegexDLNR.exec(oneLine);
  
  
                  if (theEnv) {
                      oneLine = updateLine(oneLine, theEnv, value);
                  }
  
                  output.push(oneLine);
  
              });
  
              return output.join('\n');
          }