in reply to Re^6: Unescaped left brace in regex is passed through in regex
in thread Unescaped left brace in regex is passed through in regex

> So, I think "aha, it's a hex representation", but then I can't get there with the REPL:

you are still confusing interpolation (double-quotes) from literal strings (single-quotes)

DB<28> p $str1 = "\x{41}" # interpolation A DB<29> p $str2 = '\x{41}' # literal \x{41} DB<30> p $str2 = '\\x{41}' # literal but escaping escaping \ \x{41}

now, the double escape in line 30 is playing safe, because there is a difference between \\' and \'

BUT this

\x{ 263A } Same, but shows optional blanks inside and adjoining the braces

doesn't work for me! (oO ???)

DB<31> p " \x{ 41 } " ^@

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