Look carefully. This regex is supposed to match comments in the options JSON.

The first part before `|` matches `/* ... */` style comments, the second — `// ...` style. The second part has error: it doesn't allow double quotes inside the comment. With the change, it will allow anything until EOL.

```
> var line = '"foo"=bar, // egg "spam"'
undefined
> line.match(/(?:\/\*(?:[\s\S]*?)\*\/)|(?:\/\/(?:[^\"]*)$)/gm)
null
> line.match(/(?:\/\*(?:[\s\S]*?)\*\/)|(?:\/\/(?:.*)$)/gm)
[ '// egg "spam"' ]
```