[yaml mode] Tweak key regexp

Issue #2695