Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Problem with escape sequence \x for hex with spaces "\x{ 263A }"

by LanX (Saint)
on Jun 10, 2022 at 21:56 UTC ( [id://11144679]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Problem with escape sequence \x for hex with spaces "\x{ 263A }"
in thread Problem with escape sequence \x for hex with spaces "\x{ 263A }"

> Regardless, a ninth note (e.g. 9 Introduced in v5.34.0.) would add clarity.

Normally I'd say a footnote is overkill, but since there is that note

Note that any escape sequence using braces inside interpolated constructs may have optional blanks (tab or space characters) adjoining with and inside of the braces, as illustrated above by the second \x{ } example.

every "escape sequence using braces" should better have this as footnote plus "(since v5.34.0)"

On a side note, this seems to be in analogy how identifiers inside braces are handled

DB<70> $a = 42 + + + DB<71> p ${ a } + 42 + DB<72> p ${ a } + 42 + DB<73> p "${ a }" + 42 + DB<74>

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^4: Problem with escape sequence \x for hex with spaces "\x{ 263A }"
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11144679]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 02:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found