在您输入的字符串中的各个位置都有隐藏的字符,代码点65025
pcase
导致意外匹配失败的匹配。
您可以使用将它们可视化
(defun my-display-hidden (&optional remove)
"Show/hide the hidden 'ï¸' (0xfe01) characters."
(interactive "P")
(if remove (remove-overlays)
(save-excursion
(goto-char (point-min))
(while (search-forward "ï¸" nil t) ; (0xfe01)
(let ((ov (make-overlay (match-beginning 0) (match-end 0))))
(overlay-put ov 'display
(buttonize "(0xfe01)"
(let ((pos (match-beginning 0)))
(lambda (_) (describe-char pos)))))
(overlay-put ov 'face 'font-lock-warning-face))))))