Fix regular expression for Ed25519 case