Commit Graph

2 Commits

Author SHA1 Message Date
gobwas e4652bc1f4 dramatic refactoring 2018-10-02 22:11:19 +03:00
Sergey Kamardin 034ebb20be Avoid btree Index() call on pattern with separators.
To avoid hard Index()'ing of given text with btree matcher we implement
an prefix_any and suffix_any matchers that can work well in many cases.

BTree matcher Index() will be implemented in upcoming commits to prevent
same bugs.

Fixes #23
2018-02-09 00:02:47 +03:00