fix: handle carets in the same way as tilde