presto-main/src/main/java/io/prestosql/type/LikeFunctions.java/LikeFunctions/regexMatches
class LikeFunctions:    private static boolean regexMatches(Regex regex, byte[] bytes)
    {
        return regex.matcher(bytes).match(0, bytes.length, Option.NONE) != -1;
    }