bugfix: regex not instantiated where intended
bugfix: regex not instantiated where intended

var chess = new Chess();
chess.move({from: 'e2', to: 'e4'});
var pgn = chess.pgn({max_width: 5, newline_char: \n});
// output:
// [White "carolyn"]
// [Black "hippo"]
// [Date "2014-1-18"]
// 
// 1. e4

var chessB = new Chess();
chessB.load_pgn(pgn);

// BUG HERE:
chessB.pgn({max_width: 5, newline_char: \n});
// outputs: [[White "carolyn"] [Black "hippo"] [Date "2014-1-18"] "[White "carolyn"] [Black "hippo"] [Date "2014-1-18"]"]  1. e4
jhlywa/chess.js,mattyhead/chess.js,ornicar/chess.js,ornicar/chess.js,r9k/chess.js,linrock/chess.js,Assios/chess.js,akshayverma2804/chess.js,jeffthemaximum/chess.js