liquid seems to do nothing, if there is nothing to render. It simply returns the input. That's way nothing fails, but I will add the regex again this is a better/clearer solution.