Alexey Melnikov wrote:
And add the following paragraph to the end of the section:
The following examples demonstrate valid and invalid encodings
and how they are handled:
"$${hex:40}" -> "$@"
"${hex: 40 }" -> "@"
"${HEX: 40}" -> "@"
"${hex:40" -> "${hex:40"
"${hex:400}" -> "${hex:400}"
"${hex:40${hex:40}}" -> "${hex:40(_at_)}"
"${unicode:40}" -> "@"
"${ unicode:40}" -> "${ unicode:40}"
"${UNICODE:40}" -> "@"
"${UnICoDE:0000040}" -> "@"
"${Unicode:40}" -> "@"
"${Unicode:Cool}" -> "${Unicode:Cool}"
"${unicode:1000000}" -> error
"${unicode:200000}" -> error
"${Unicode:DF01} -> error
And I've missed Michael's favorite:
"${hex:" -> "${hex:"