Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Use zip and find_map to unescape #17

Closed
wants to merge 1 commit into from
Closed

Conversation

mkmik
Copy link
Member

@mkmik mkmik commented Oct 5, 2020

This is possibly more elegant and also more robust as it panics if the escape sequence is not recognized.

That said, we apply our tests against the parser (I have a PR with a unit test for this unescape
but I realized it might be better to capture the test in the parser layer so it can be shared with
other implementations).

This is possibly more elegant and also more robust as it panics if the escape sequence is not recognized.

That said, we apply our tests against the parser (I have a PR with a unit test for this unescape
but I realized it might be better to capture the test in the parser layer so it can be shared with
other implementations).
@mkmik mkmik requested a review from glyn October 5, 2020 14:30
@mkmik
Copy link
Member Author

mkmik commented Oct 5, 2020

superseded by #18

@mkmik mkmik closed this Oct 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant