Closed tailhook closed 7 years ago
It looks like YAML doesn't allow invalid escapes like "\." in double quotes. We treat it as "\\.".
"\."
"\\."
We should make it more consistent with YAML spec and other parsers.
There are also some tests, that assert incorrect behavior that must be fixed: https://github.com/tailhook/rust-quire/blob/c9d480ff44f43c0785a3a4e51e9b266fd77d8ae9/src/json.rs#L410-L418
It looks like YAML doesn't allow invalid escapes like
"\."
in double quotes. We treat it as"\\."
.We should make it more consistent with YAML spec and other parsers.