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

Fix: raw string with leading whitespaces #158

Merged
merged 2 commits into from
Nov 28, 2024
Merged

Fix: raw string with leading whitespaces #158

merged 2 commits into from
Nov 28, 2024

Conversation

blindFS
Copy link
Contributor

@blindFS blindFS commented Nov 28, 2024

This PR fixes #157 .
The problem is rooted in my review suggestion, so the change is reverted.

But I don't get why, how is whitespaces automatically skipped by extras for $._str_double_quotes, but not $._raw_string.
@mrdgo do you have any idea?

Edit: I get it wrong, the scanner is handled earlier than extras so it may override the behavior of the later.

@fdncred fdncred merged commit 1c3821f into nushell:main Nov 28, 2024
3 checks passed
@fdncred
Copy link
Collaborator

fdncred commented Nov 28, 2024

Thanks

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.

parsing error
2 participants