Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse \b and \f escape sequences correctly #68

Merged
merged 1 commit into from Jul 8, 2020

Conversation

akiym
Copy link
Contributor

@akiym akiym commented Jul 7, 2020

\b and \f were left escaped, now they are correctly unescaped by from-json().

Before:

> from-json('"\\b\\f\\n\\r\\t"').raku
"\\b\\f\n\r\t"

After:

> from-json('"\\b\\f\\n\\r\\t"').raku
"\b\x[C]\n\r\t"

@antoniogamiz
Copy link

@timo could you merge this?

@timo timo merged commit e180055 into timo:master Jul 8, 2020
@timo
Copy link
Owner

timo commented Jul 8, 2020

merged and released to cpan, thank you very much, @akiym

@akiym akiym deleted the escape-sequence-b-f branch July 8, 2020 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants