Implement subsetting and sargability for LIKE and REGEXP_LIKE().