Made it also properly escape carets