generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
What were you trying to do?
Understand the syntax for escaping unicode code points and other characters in string literals.
What is wrong and why?
The Policy grammar page describes the string literal syntax as:
STR ::= Fully-escaped Unicode surrounded by '"'s
But it doesn't explain how to escape the unicode at all. Upon reading the Rust library source code, I found it somewhat surprising that the Rustic approach of \u{x...} is used which is somewhat different from many other libraries which use the fixed-width \uxxxx escape approach.
What do we need to do to fix this?
Document how to escape characters (a leading \) and what escape sequences are supported (n, r, u{...}, etc).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels