EDN parser swallows and discards \n, \t, \r #19

Open
opened 2020-08-06 15:04:56 +00:00 by gburd · 0 comments
gburd commented 2020-08-06 15:04:56 +00:00 (Migrated from github.com)

This doesn't ever unescape string_special_chars, and just assumes they're the same as without the backslash, which is only true for \ and " escapes: e3113783ae/edn/src/edn.rustpeg (L83)

Original by @thomcc

This doesn't ever unescape `string_special_char`s, and just assumes they're the same as without the backslash, which is only true for \\ and \" escapes: https://github.com/mozilla/mentat/blob/e3113783aef99916812ae543dbe76f4451e440fd/edn/src/edn.rustpeg#L83 Original by @thomcc
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg/mentat#19
No description provided.