CS as of 1.4.2 relies on glibc for regex processing. We need to replace glibc with re2 for LIKE, REGEX and other facilities that affects performance.
1) Identify places with glibc regex functions invocations
2) Pick the invocations that significantly affects timings of the query
3) Replace glibc regex calls with appropriate re2