- Added utility functions for regex search and basic search algorithm.