Skip to content

Instantly share code, notes, and snippets.

@smfreegard
Created May 1, 2013 12:06
Show Gist options
  • Save smfreegard/5494941 to your computer and use it in GitHub Desktop.
Save smfreegard/5494941 to your computer and use it in GitHub Desktop.
v8 bug?
"use strict";
var line = '" John Stirling & Jeremy Bray <[email protected]>';
console.log('before match');
var match = /^("(?:[^"\\]+|\\.)*")\s*/.exec(line);
console.log('after match');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment