lib/MissMatch.js
function parseStringLiteral(AST) {
    if(peek() === '/') {
      newNode(extractRegex(), newNode('r=', AST).nodes);
    } else {
      newNode(extractStringLiteral(), newNode('=', AST).nodes);
    }
  }
function parseStringLiteral(AST) {
    if(peek() === '/') {
      newNode(extractRegex(), newNode('r=', AST).nodes);
    } else {
      newNode(extractStringLiteral(), newNode('=', AST).nodes);
    }
  }
A string literal list may contain strings or regular expressions.