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

Correct doc for \U escape sequence under Base/Strings/unescape_string #33285

Merged
merged 1 commit into from
Sep 17, 2019

Conversation

srutzky
Copy link
Contributor

@srutzky srutzky commented Sep 16, 2019

The \U escape sequence, which can take 1 - 8 hex digits, was presented as a duplicate of the \u escape sequence, which can only take 1 - 4 hex digits. I separated \u from \U so it would be easier to clarify the distinction between them. Also, added "max value" for \U since unlike \x, octal, and \u sequences, the max value for \U is not the max of all 8 hex digits (i.e. ffffffff ).

The `\U` escape sequence, which can take 1 - 8 hex digits, was presented as a duplicate of the `\u` escape sequence, which can only take 1 - 4 hex digits. I separated `\u` from `\U` so it would be easier to clarify the distinction between them. Also, added "max value" for `\U` since unlike `\x`, octal, and `\u` sequences, the max value for `\U` is _not_ the max of all 8 hex digits (i.e. `ffffffff` ).
@JeffBezanson
Copy link
Member

Thanks!

@JeffBezanson JeffBezanson merged commit 879fef4 into JuliaLang:master Sep 17, 2019
@srutzky
Copy link
Contributor Author

srutzky commented Sep 17, 2019

You're quite welcome 😺 .

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.

2 participants