You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
All escaped characters are supported.
Version Variables
Go version: Go 1.23.2
go-yaml's Version: v1.15.4
Additional context
I've found this incompatibility in testcases of bufbuild/protoyaml-go.
This appears to be explicitly tested, since string of Protocol Buffers also supports \a.
Describe the bug
Escaped characters
\a
and\/
are not supported.They are documented here.
https://yaml.org/spec/1.2.2/#57-escaped-characters
To Reproduce
https://go.dev/play/p/LyP5F1vUARi
Expected behavior
All escaped characters are supported.
Version Variables
Additional context
I've found this incompatibility in testcases of
bufbuild/protoyaml-go
.This appears to be explicitly tested, since string of Protocol Buffers also supports
\a
.https://protobuf.dev/reference/protobuf/edition-2023-spec/#string_literals
The text was updated successfully, but these errors were encountered: