-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix removal for exprs with regex prefix (#971)
Before it would always remove from the prefix tree even if there were other similar expressions with the same prefix. After that those other expressions would never match because the sub-index would no longer be in the tree. Now it will only remove from the prefix tree if the sub-index is empty.
- Loading branch information
1 parent
3fbf20e
commit abab84f
Showing
2 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters