regex_search: Optimized.