update ChangeLog
This commit is contained in:
parent
70337ea5ba
commit
96061f72ae
2 changed files with 10 additions and 3 deletions
|
|
@ -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 = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue