public static Expression<String> likeToRegex(Expression<String> expr) {
        return likeToRegex(expr, true);
    }
Convert the given like pattern to a regex pattern

@param expr expression to convert
@return converted expression
querydsl-core/src/main/java/com/querydsl/core/types/ExpressionUtils.java