Closed qjebbs closed 7 years ago
code:
let r = new MultiRegExp2(/a(?:(b))?/); console.log(r.regExp.source);
result:
(a(?:)(b))?
expected:
(a)(?:(b))?
Good case. Maybe I should add unit tests to the module. Are you familiar with unit testing?
Ok fixed in master.
code:
result:
expected: