update ChangeLog

This commit is contained in:
nightwing 2014-11-05 16:51:34 +04:00
commit 96061f72ae
2 changed files with 10 additions and 3 deletions

View file

@ -107,7 +107,7 @@ function convertToNonCapturingGroups(str) {
function simplifyNonCapturingGroups(str) {
var tokens = tokenize(str);
var t = tokens[0];
var t = tokens[0] || {};
if (t.type == "group.start" && t.value == "(?:"
&& t.end == last(tokens)) {
t.value = t.end.value = "";