presto-main/src/main/java/io/prestosql/type/LikeFunctions.java/LikeFunctions/compileLikePattern
class LikeFunctions:    public static Regex compileLikePattern(Slice pattern)
    {
        return likePattern(pattern.toStringUtf8(), '0', false);
    }