Fix infinite loop on zero-length regex matches #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ocavue/prosemirror-search:ocavue-fix-re"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Patches
buildMatchDecoandreplaceAllall handle zero-length regex like.?and.*.How to test:
Without patch:
With patch:
Thanks. Merged as
23525601a0, tweaked ina81de6e161and57204875a9@marijn Hey. I noticed that the patch has not yet been released to NPM. Is there anything you would like to tweak (and perhaps I can help) before releasing?
I've tagged a version 1.1.1 with this patch.
Pull request closed