NotEnoughProduction icon indicating copy to clipboard operation
NotEnoughProduction copied to clipboard

RegEx Search

Open bigbass1997 opened this issue 6 years ago • 0 comments

At the moment, the text field for the item/fluid (object) name uses Java's String.contains() method to filter recipes. This method is case-sensitive, and is used against both the localized and unlocalized names for each object. This way of searching is obviously simpler to implement but doesn't provide much functionality to the user.

I'd like to see how much performance is affected when using Regular Expression instead. If trying to use RegEx causes major performance problems, then I'll try implementing a custom system, similar to how NEI has customize search symbols. The custom system would be a lot simpler, but still allowing for more control compared to the current system.

I could also provide multiple systems and let the user switch between them. But that likely won't get implemented until later.

bigbass1997 avatar Dec 14 '19 03:12 bigbass1997