On Tue Jul 26 00:28:37 2016, sprout wrote:
> OK, so this is the *real* bug I was after when I opened ticket #128737> (when I wasn’t thinking):> > $ ./miniperl -e 'eval "print q \x{fffffff}Hello,> \\\\whirled!\n\x{fffffff}" or die;'> Hello, \whirled!> > That is expected. But add another f:> > $ ./miniperl -e 'eval "print q \x{ffffffff}Hello,> \\\\whirled!\n\x{ffffffff}" or die;'> Hello, \\whirled!> > And \\ in a q() string is now being preserved, instead of being> changed to a single backslash.> > Same results from 5.8.7 to 5.25.3.
Another symptom of the same bug:
\x{100000027} acts as a single quote for regexps:
$ ./miniperl -le 'eval "print qr \x{100000027}\$^O\x{100000027}" || die'
(?^:$^O)
$ ./miniperl -le 'eval "print qr \x{10000002}\$^O\x{10000002}" || die'
(?^:darwin)
--
Father Chrysostomos
---
via perlbug: queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=128738