Commits


David Li authored and Antoine Pitrou committed d596ca76d78
ARROW-13157: [C++][Python] Add find_substring_regex kernel and implement ignore_case for find_substring This adds a `find_substring_regex` kernel and adds support for case insensitivity to the `find_substring` kernel. RE2 only returns the match position if you have a capture group. Hence we have to modify the supplied regex. For literal patterns, we have to use RE2::QuoteMeta instead of setting the literal flag on the regex. Closes #10597 from lidavidm/arrow-13157 Authored-by: David Li <li.davidm96@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>