valoricDe / MultiRegExp2

Get all matches of a regexp with corresponding start and end positions
GNU General Public License v3.0
12 stars 5 forks source link

fix parsing, fix #2 #3

Closed qjebbs closed 7 years ago

qjebbs commented 7 years ago

I've fix the parsing problem of these cases:

new MultiRegExp2(/\(/);
new MultiRegExp2(/[(]/);

Looking forward you review and merge this fix.

valoricDe commented 7 years ago

Hey qjebbs, I'm very sorry I haven't been notified. I will look into it the next days. Indeed a haven't thought of such scenarios. Thanks for the merge request.