Utility library to match string patterns in a larger text using various algorithms